Nix store gc and Emacs as systemd service

This commit is contained in:
Andrea Ciceri 2022-01-12 12:09:58 +01:00
parent 1da0bea837
commit d0c42a5b7f
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
6 changed files with 33 additions and 9 deletions

View file

@ -43,5 +43,13 @@
swapDevices =
[{ device = "/dev/disk/by-label/swap"; }];
nix = {
package = pkgs.nixUnstable;
gc = {
automatic = true;
options = "--delete-older-than 3d";
};
};
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}