template for ricing improvements

This commit is contained in:
TheWanderingCrow 2024-12-29 18:51:34 -05:00
parent 2fc97c184e
commit 006ce6f5d7
2 changed files with 10 additions and 2 deletions

View file

@ -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;
};
};
}

View file

@ -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 "";
};
}