Force update all channels before upgrade
This commit is contained in:
parent
48bde846d4
commit
6885264fef
@ -51,6 +51,10 @@ in {
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.tmpOnTmpfs = true;
|
||||
|
||||
# force update all channels
|
||||
systemd.services.nixos-upgrade.serviceConfig.ExecStartPre =
|
||||
"${pkgs.nix}/bin/nix-channel --update";
|
||||
|
||||
system.stateVersion = "19.03";
|
||||
system.autoUpgrade.enable = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user