diff --git a/nix/hosts/PW05CH3L/configuration.nix b/nix/hosts/PW05CH3L/configuration.nix index 48ed8a4e..af63b0f2 100644 --- a/nix/hosts/PW05CH3L/configuration.nix +++ b/nix/hosts/PW05CH3L/configuration.nix @@ -27,25 +27,4 @@ services.syncthing.enable = true; nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; - - nix = { - gc = { - automatic = true; - dates = "daily"; - options = "--delete-older-than 7d"; - }; - - optimise.automatic = true; - - settings = { - auto-optimise-store = true; - - experimental-features = [ - "nix-command" - "flakes" - ]; - - warn-dirty = false; - }; - }; } diff --git a/nix/hosts/common/default.nix b/nix/hosts/common/default.nix index bb8128cc..b0502b27 100644 --- a/nix/hosts/common/default.nix +++ b/nix/hosts/common/default.nix @@ -20,6 +20,19 @@ ./programs.nix ]; + nix = { + settings = { + auto-optimise-store = true; + + experimental-features = [ + "nix-command" + "flakes" + ]; + + warn-dirty = false; + }; + }; + users.defaultUserShell = pkgs.zsh; environment.systemPackages = diff --git a/nix/hosts/lemp11/configuration.nix b/nix/hosts/lemp11/configuration.nix index 8ae4bdb2..616b8a19 100644 --- a/nix/hosts/lemp11/configuration.nix +++ b/nix/hosts/lemp11/configuration.nix @@ -48,23 +48,4 @@ }; zramSwap.enable = true; - - nix = { - gc = { - automatic = true; - dates = "daily"; - options = "--delete-older-than 7d"; - }; - - optimise.automatic = true; - - settings = { - auto-optimise-store = true; - experimental-features = [ - "nix-command" - "flakes" - ]; - warn-dirty = false; - }; - }; } diff --git a/nix/hosts/t490/configuration.nix b/nix/hosts/t490/configuration.nix index 81636500..c063abb6 100644 --- a/nix/hosts/t490/configuration.nix +++ b/nix/hosts/t490/configuration.nix @@ -64,27 +64,6 @@ zramSwap.enable = true; - nix = { - gc = { - automatic = true; - dates = "daily"; - options = "--delete-older-than 7d"; - }; - - optimise.automatic = true; - - settings = { - auto-optimise-store = true; - - experimental-features = [ - "nix-command" - "flakes" - ]; - - warn-dirty = false; - }; - }; - networking.hosts = { "192.168.1.116" = [ "nixedo" ]; };