Set autoUpgrade to "boot" by default, keep as "switch" for Legion
Add stateVersion variables to Legion, missed last time...
This commit is contained in:
parent
04033bd40c
commit
4a34969506
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ username, ... }:
|
||||
{
|
||||
imports = [
|
||||
./services/adguardhome.nix
|
||||
|
@ -17,6 +17,13 @@
|
|||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
home-manager.users.${username} = {
|
||||
home.stateVersion = "23.05";
|
||||
};
|
||||
system = {
|
||||
stateVersion = "23.05";
|
||||
autoUpgrade.operation = "switch";
|
||||
};
|
||||
users.mutableUsers = false;
|
||||
hardware.bluetooth.enable = true;
|
||||
}
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
download-buffer-size = "2G";
|
||||
substituters = [ "https://nix.xenia.me.uk" ];
|
||||
trusted-public-keys = [ "nix.xenia.me.uk:tlgwOaG5KMLjQUk2YaErS8mAG69ZCr3PaHXZYi+Y5eI=" ];
|
||||
};
|
||||
|
@ -82,13 +81,14 @@
|
|||
};
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
operation = lib.mkDefault "boot";
|
||||
persistent = true;
|
||||
allowReboot = false;
|
||||
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
||||
dates = "02:00";
|
||||
randomizedDelaySec = "5min";
|
||||
fixedRandomDelay = true;
|
||||
flags = [
|
||||
"--accept-flake-config"
|
||||
"--option"
|
||||
"extra-binary-caches"
|
||||
"https://nix.xenia.me.uk"
|
||||
|
|
Loading…
Reference in a new issue