Enable auto gc
This commit is contained in:
parent
c5afc1a072
commit
3d8fd14805
2 changed files with 14 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue