3 ms·
> Put whatever update command (nixos-rebuild switch --upgrade I believe? haven't touched nixos in a while) in a crontab and you get automatic updates. It is ev
by m45t3r 8y ago
> Put whatever update command (nixos-rebuild switch --upgrade I believe? haven't touched nixos in a while) in a crontab and you get automatic updates.
It is even easier, really. Just add the following to your /etc/nixos/configuration.nix file:
system.autoUpgrade = {
enable = true;
dates = "daily";
};