mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
template for ricing improvements
This commit is contained in:
parent
2fc97c184e
commit
006ce6f5d7
2 changed files with 10 additions and 2 deletions
|
|
@ -44,6 +44,10 @@
|
|||
service = {
|
||||
note-sync.enable = lib.mkEnableOption "enable note sync to repo";
|
||||
};
|
||||
|
||||
ricing = {
|
||||
basic.enable = lib.mkEnableOption "enable basic ricing";
|
||||
};
|
||||
};
|
||||
|
||||
# Set default option states in config
|
||||
|
|
@ -88,5 +92,9 @@
|
|||
service = {
|
||||
note-sync.enable = lib.mkDefault false;
|
||||
};
|
||||
|
||||
ricing = {
|
||||
basic.enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@
|
|||
in {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
settings = og_waybar.jsonc;
|
||||
style = og_waybar.style;
|
||||
settings = if config.ricing.basic.enable then og_waybar else {};
|
||||
style = if config.ricing.basic.enable then og_waybar.style else "";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue