blob: 281a786cd2bf0668ea83a0e537ee00263246c5c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ pkgs, ... }:
{
personal.nix = {
enable = true;
autoUpgrade = true;
flake = "git+file:///etc/nixos";
gc.enable = true;
};
system.autoUpgrade.flags = pkgs.personal.lib.updateInputFlags [
"latitude-7490/home-manager"
"latitude-7490/my-nixpkgs"
"latitude-7490/nixos-hardware"
"latitude-7490/nixpkgs"
"latitude-7490/stylix"
];
# make auto-upgrade service lightweight
systemd.services.nixos-upgrade.unitConfig = { CPUWeight = 1; };
}
|