monolith: enable auto updates

This commit is contained in:
Leonardo Eugênio 2024-08-20 19:39:59 -03:00
parent c6c4417aeb
commit 59c5099cd6

View file

@ -173,4 +173,16 @@ in
# size = (1024 * 16) + (1024 * 2); # RAM size + 2 GB # size = (1024 * 16) + (1024 * 2); # RAM size + 2 GB
# } # }
# ]; # ];
system.autoUpgrade = {
enable = true;
dates = "04:40";
operation = "switch";
flags = [
"--update-input"
"nixpkgs"
"--print-build-logs"
];
flake = "/home/lelgenio/projects/nixos-config#monolith";
};
} }