aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-02 11:51:47 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-02 11:51:47 +0100
commit576d9f3a20322f6e0ca67675f5578f01ec73271b (patch)
treec4e818888fc51d31d9f30b7ef399502988224fa8
parent20d1eb7b103a2c4d80d91ff09b9c1495d10e1ee9 (diff)
downloadnixos-personal-576d9f3a20322f6e0ca67675f5578f01ec73271b.tar.gz
nixos-personal-576d9f3a20322f6e0ca67675f5578f01ec73271b.tar.bz2
nixos-personal-576d9f3a20322f6e0ca67675f5578f01ec73271b.zip
nixos/generic: add automatic garbage collection
-rw-r--r--nixos/modules/generic.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix
index a7816ed..6a658d8 100644
--- a/nixos/modules/generic.nix
+++ b/nixos/modules/generic.nix
@@ -25,6 +25,10 @@ in {
];
trusted-users = [ "@wheel" ];
};
+ gc = {
+ automatic = true;
+ persistent = true;
+ };
registry = {
personal.to = {
type = "git";