diff --git a/configuration.nix b/configuration.nix index f183c24..9bfbb7c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;