diff --git a/home-manager/default.nix b/home-manager/default.nix index b0f7d68e..3dd67a42 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -16,16 +16,12 @@ ; news.display = "silent"; + home = { inherit username; stateVersion = hmStateVersion; homeDirectory = "/home/${username}"; sessionPath = [ "$HOME/.local/bin" ]; - nix.gc = { - automatic = true; - frequency = "daily"; - options = "--delete-older-than 30d"; - }; }; nixpkgs = { diff --git a/home-manager/small.nix b/home-manager/small.nix index 582168ff..c9da1560 100644 --- a/home-manager/small.nix +++ b/home-manager/small.nix @@ -22,16 +22,12 @@ ; news.display = "silent"; + home = { inherit username; stateVersion = hmStateVersion; homeDirectory = "/home/${username}"; sessionPath = [ "$HOME/.local/bin" ]; - nix.gc = { - automatic = true; - frequency = "daily"; - options = "--delete-older-than 7d"; - }; }; nixpkgs = {