Nix store gc and Emacs as systemd service
This commit is contained in:
parent
1da0bea837
commit
d0c42a5b7f
6 changed files with 33 additions and 9 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue