diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index 18f270cd531..c062e81c69b 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -89,7 +89,7 @@ in defaultChannel = mkOption { internal = true; type = types.str; - default = https://nixos.org/channels/nixos-unstable; + default = https://nixos.org/channels/nixos-16.03; description = "Default NixOS channel to which the root user is subscribed."; }; diff --git a/nixos/release.nix b/nixos/release.nix index cfe152cc163..a0ed18c3678 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -9,7 +9,7 @@ let version = builtins.readFile ../.version; versionSuffix = - (if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}"; + (if stableBranch then "." else "pre") + "${toString (nixpkgs.revCount - 77900)}.${nixpkgs.shortRev}"; forAllSystems = genAttrs supportedSystems;