diff --git a/modules/profiles/base.nix b/modules/profiles/base.nix index e2d4b4b..9f35c6a 100644 --- a/modules/profiles/base.nix +++ b/modules/profiles/base.nix @@ -32,10 +32,6 @@ in time.timeZone = "Europe/Berlin"; my = { - nix = { - gc.enable = true; - optimise.enable = true; - }; bin.enable = true; shell = { abbreviations = { @@ -63,6 +59,10 @@ in git.enable = true; gpg.enable = true; navi.enable = true; + nix = { + gc.enable = true; + optimise.enable = true; + }; tmux.enable = true; tmux.keybinds = { prefix = { diff --git a/modules/config/nix.nix b/modules/programs/nix.nix similarity index 96% rename from modules/config/nix.nix rename to modules/programs/nix.nix index 12fcc32..413936f 100644 --- a/modules/config/nix.nix +++ b/modules/programs/nix.nix @@ -6,10 +6,10 @@ with lib; let - cfg = config.my.nix; + cfg = config.my.programs.nix; in { - options.my.nix = { + options.my.programs.nix = { gc = { enable = mkEnableOption "nix-gc"; minimumFreedGB = mkOption {