feat: enable auto update system service

This commit is contained in:
Ananth Venkatesh 2025-05-06 01:43:40 -04:00
parent 099e29e327
commit 47f4aa7799
No known key found for this signature in database
GPG key ID: 4BB578E748CFE4FF
6 changed files with 119 additions and 34 deletions

View file

@ -7,7 +7,7 @@
lib,
...
}:
{
rec {
imports = [ ./hardware-configuration.nix ];
networking.hostName = "callisto";
@ -74,5 +74,17 @@
};
};
system.stateVersion = "24.11";
system = {
stateVersion = "24.11";
# Automatically rebuild system daily
autoUpgrade = {
enable = true;
flake = liminalOS.flakeLocation;
flags = [
"-L" # print build logs
];
dates = "daily";
};
};
}