Enable auto gc

This commit is contained in:
floppydiskette 2023-08-26 21:20:21 +01:00
parent c5afc1a072
commit 3d8fd14805
No known key found for this signature in database
2 changed files with 14 additions and 0 deletions

View file

@ -75,6 +75,13 @@
# Enable experimental features # Enable experimental features
nix.settings.extra-experimental-features = ["flakes" "nix-command"]; nix.settings.extra-experimental-features = ["flakes" "nix-command"];
# Enable automatic gc
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
# I never want to touch this again # I never want to touch this again
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {

View file

@ -65,6 +65,13 @@
# Enable experimental features # Enable experimental features
nix.settings.extra-experimental-features = ["flakes" "nix-command"]; nix.settings.extra-experimental-features = ["flakes" "nix-command"];
# Enable automatic gc
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;