diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix index bf20e801f61b..5ddd495532bd 100644 --- a/nixos/modules/misc/version.nix +++ b/nixos/modules/misc/version.nix @@ -78,7 +78,7 @@ in defaultChannel = mkOption { internal = true; type = types.str; - default = https://nixos.org/channels/nixos-unstable; + default = https://nixos.org/channels/nixos-17.03; description = "Default NixOS channel to which the root user is subscribed."; }; diff --git a/nixos/release.nix b/nixos/release.nix index 2bfe8eada0b8..c618ea1879a1 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -9,7 +9,7 @@ let version = fileContents ../.version; versionSuffix = - (if stableBranch then "." else "pre") + "${toString nixpkgs.revCount}.${nixpkgs.shortRev}"; + (if stableBranch then "." else "beta") + "${toString (nixpkgs.revCount - 102184)}.${nixpkgs.shortRev}"; forAllSystems = genAttrs supportedSystems;