diff --git a/modules/options.nix b/modules/options.nix index 6929989..23366e1 100644 --- a/modules/options.nix +++ b/modules/options.nix @@ -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; + }; }; } diff --git a/modules/users/crow/configs/waybar.nix b/modules/users/crow/configs/waybar.nix index 8ec7214..953fbcf 100644 --- a/modules/users/crow/configs/waybar.nix +++ b/modules/users/crow/configs/waybar.nix @@ -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 ""; }; }