1
0

Force update all channels before upgrade

This commit is contained in:
dump_stack() 2019-08-02 15:14:23 +00:00
parent 48bde846d4
commit 6885264fef
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

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;