Compare commits
2 Commits
d43c5b151d
...
255cb34846
Author | SHA1 | Date |
---|---|---|
coolneng | 255cb34846 | |
coolneng | bd493ea8ea |
|
@ -180,13 +180,17 @@ with pkgs;
|
|||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "/home/coolneng/system";
|
||||
flags = [
|
||||
"--update-input"
|
||||
"agenix"
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
flags =
|
||||
[ "--update-input agenix --update-input nixpkgs" "--commit-lock-file" ];
|
||||
};
|
||||
|
||||
# Limit the memory and CPU use of Nix
|
||||
systemd.services.nixos-upgrade.serviceConfig = {
|
||||
MemoryHigh = [ "500M" ];
|
||||
MemoryMax = [ "2048M" ];
|
||||
CPUWeight = [ "20" ];
|
||||
CPUQuota = [ "85%" ];
|
||||
IOWeight = [ "20" ];
|
||||
};
|
||||
|
||||
# Configure git for auto-upgrade
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
};
|
||||
devices = {
|
||||
panacea.id =
|
||||
"L2FDE7E-UQ762XM-HWVSRQU-7H435NK-FGQQFJM-YRDJ6Q5-BMQHMYQ-2LLRZQS";
|
||||
"VEGVHKF-P4FT3BD-4T3ML7J-65URQOU-3XKNMI5-6LGWSCI-BIQZOUE-RKQ6PQX";
|
||||
caravanserai.id =
|
||||
"MIRF73R-S7AV47R-VLWZUK2-TFCVQPV-FRYCPND-Y4VR3W2-ZAIQXZD-JAEQCAD";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue