From 6a2b253f838f89555580ba5bed0eb4c677a5d173 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 16 Nov 2024 11:39:47 -0800 Subject: [PATCH] fix(home): Fix module enable option def Modules were being placed at .. instead of .. --- modules/home/appearance/base/default.nix | 2 +- modules/home/appearance/gtk/default.nix | 2 +- modules/home/appearance/qt/default.nix | 2 +- modules/home/programs/fish/default.nix | 2 +- modules/home/programs/journalctl/default.nix | 2 +- modules/home/programs/neo/default.nix | 2 +- modules/home/programs/systemctl/default.nix | 2 +- modules/home/xorg/xsession/default.nix | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/home/appearance/base/default.nix b/modules/home/appearance/base/default.nix index 635886e..91af442 100644 --- a/modules/home/appearance/base/default.nix +++ b/modules/home/appearance/base/default.nix @@ -13,7 +13,7 @@ let inherit (config.${namespace}) theme; in { - options.appearance = mkEnableModule "base"; + options = mkEnableModule "appearance.base"; config = mkIf cfg.enable { home.packages = with pkgs; [ diff --git a/modules/home/appearance/gtk/default.nix b/modules/home/appearance/gtk/default.nix index 9418ab8..8fdc8d4 100644 --- a/modules/home/appearance/gtk/default.nix +++ b/modules/home/appearance/gtk/default.nix @@ -12,7 +12,7 @@ let inherit (config.${namespace}) theme; in { - options.appearance = mkEnableModule "gtk"; + options = mkEnableModule "appearance.gtk"; config = mkIf cfg.enable { gtk = { diff --git a/modules/home/appearance/qt/default.nix b/modules/home/appearance/qt/default.nix index 1b5fcf2..7f22f37 100644 --- a/modules/home/appearance/qt/default.nix +++ b/modules/home/appearance/qt/default.nix @@ -13,7 +13,7 @@ let inherit (config.${namespace}) theme; in { - options.appearance = mkEnableModule "qt"; + options = mkEnableModule "appearance.qt"; config = mkIf cfg.enable { xdg.configFile = mkIf (theme.colors.base == "rose-pine") { diff --git a/modules/home/programs/fish/default.nix b/modules/home/programs/fish/default.nix index f34b77b..f1a2098 100644 --- a/modules/home/programs/fish/default.nix +++ b/modules/home/programs/fish/default.nix @@ -13,7 +13,7 @@ let inherit (config.${namespace}) theme; in { - options.programs = mkEnableModule "fish"; + options = mkEnableModule "programs.fish"; config = mkIf cfg.enable { home.packages = with pkgs; [ diff --git a/modules/home/programs/journalctl/default.nix b/modules/home/programs/journalctl/default.nix index 2c16a3e..3e48f90 100644 --- a/modules/home/programs/journalctl/default.nix +++ b/modules/home/programs/journalctl/default.nix @@ -11,7 +11,7 @@ let cfg = config.${namespace}.programs.journalctl; in { - options.programs = mkEnableModule "journalctl"; + options = mkEnableModule "programs.journalctl"; config = mkIf cfg.enable { home.shellAbbrs = { diff --git a/modules/home/programs/neo/default.nix b/modules/home/programs/neo/default.nix index a52cdcf..3c696e9 100644 --- a/modules/home/programs/neo/default.nix +++ b/modules/home/programs/neo/default.nix @@ -12,7 +12,7 @@ let cfg = config.${namespace}.programs.neo; in { - options.programs = mkEnableModule "neo"; + options = mkEnableModule "programs.neo"; config = mkIf cfg.enable { home.packages = with pkgs; [ diff --git a/modules/home/programs/systemctl/default.nix b/modules/home/programs/systemctl/default.nix index 5c8a736..28c5a80 100644 --- a/modules/home/programs/systemctl/default.nix +++ b/modules/home/programs/systemctl/default.nix @@ -11,7 +11,7 @@ let cfg = config.${namespace}.programs.systemctl; in { - options.programs = mkEnableModule "systemctl"; + options = mkEnableModule "programs.systemctl"; config = mkIf cfg.enable { home.shellAbbrs = { diff --git a/modules/home/xorg/xsession/default.nix b/modules/home/xorg/xsession/default.nix index 8c534f7..9492dc3 100644 --- a/modules/home/xorg/xsession/default.nix +++ b/modules/home/xorg/xsession/default.nix @@ -11,7 +11,7 @@ let cfg = config.${namespace}.xorg.xsession; in { - options.xorg = mkEnableModule "xsession"; + options = mkEnableModule "xorg.xsession"; config = mkIf cfg.enable { xsession = {