1
0
Fork 0

Force update all channels before upgrade

master
dump_stack() 2019-08-02 15:14:23 +00:00
parent 48bde846d4
commit 6885264fef
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 4 additions and 0 deletions

View File

@ -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;