From 20bb620ba13e9dd2617782fd8b48f02abed9d2ad Mon Sep 17 00:00:00 2001 From: brustybee Date: Sat, 7 Mar 2026 05:10:56 +0530 Subject: Fix modules to properly guard HM-only config from NixOS evaluatio --- common/programs/btop.nix | 2 +- common/programs/rofi.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'common/programs') diff --git a/common/programs/btop.nix b/common/programs/btop.nix index aa548e9..a030e3d 100644 --- a/common/programs/btop.nix +++ b/common/programs/btop.nix @@ -3,7 +3,7 @@ programs.btop = { enable = true; settings = { - color_theme = lib.optionals config.beeMods.matugen.enable "matugen"; + color_theme = lib.optionalString config.beeMods.matugen.enable "matugen"; theme_background = false; truecolor = true; vim_keys = true; diff --git a/common/programs/rofi.nix b/common/programs/rofi.nix index ea55259..d95f547 100644 --- a/common/programs/rofi.nix +++ b/common/programs/rofi.nix @@ -64,7 +64,7 @@ xdg.configFile = { "rofi/shared/default-colors.rasi" = { - enable = !config.beeModes.matugen.enable; + enable = !config.beeMods.matugen.enable; text = # rasi '' @@ -111,7 +111,7 @@ /*****----- Global Properties -----*****/ ${ - if config.beeModes.matugen.enable then + if config.beeMods.matugen.enable then ''@import "shared/colors.rasi"'' else ''@import "shared/default-colors.rasi"'' -- cgit v1.3.1