mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 14:09:51 -07:00
feat: enable auto update system service
This commit is contained in:
parent
099e29e327
commit
47f4aa7799
6 changed files with 119 additions and 34 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue