blob: 01f86e76d9a5350de431b6890affba4756ce097c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ ... }:
{
personal.nix = {
enable = true;
autoUpgrade = true;
flake = "git+file:///home/qaristote/code/nix/machines/latitude-7490";
gc.enable = true;
};
system.autoUpgrade.flags =
let update-input = input: [ "--update-input" input ];
in update-input "home-manager" ++ update-input "nixos-hardware"
++ [ "--impure" ];
# make auto-upgrade service lightweight
systemd.services.nixos-upgrade.unitConfig = { CPUWeight = 1; };
}
|