release: update all references to 20.03 with 20.09

This commit is contained in:
Tobias Happ 2020-11-01 21:52:04 +01:00 committed by Alexander Sosedkin
parent e6c7adaca0
commit d8a1d446f9
5 changed files with 30 additions and 23 deletions

View file

@ -13,13 +13,13 @@ with lib;
build.channel = {
nixpkgs = mkOption {
type = types.str;
default = "https://nixos.org/channels/nixos-20.03";
default = "https://nixos.org/channels/nixos-20.09";
description = "Channel URL for nixpkgs.";
};
nix-on-droid = mkOption {
type = types.str;
default = "https://github.com/t184256/nix-on-droid/archive/release-20.03.tar.gz";
default = "https://github.com/t184256/nix-on-droid/archive/release-20.09.tar.gz";
description = "Channel URL for nix-on-droid.";
};
};

View file

@ -28,15 +28,18 @@
environment.etcBackupExtension = ".bak";
# Read the changelog before changing this value
system.stateVersion = "20.03";
system.stateVersion = "20.09";
# After installing home-manager channel like
# nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager
# nix-channel --add https://github.com/rycee/home-manager/archive/release-20.09.tar.gz home-manager
# nix-channel --update
# you can configure home-manager in here like
#home-manager.config =
# { pkgs, ... }:
# {
# # Read the changelog before changing this value
# home.stateVersion = "20.09";
#
# # insert home-manager config
# };
}

View file

@ -87,13 +87,13 @@ in
assertions = [
{
assertion = assertionNixpkgs;
message = "You are currently using release-19.09 branch of nixpkgs, you need "
+ "to update to the release-20.03 channel.";
message = "You are currently using release-19.09 branch or older of nixpkgs, you need "
+ "to update to the release-20.03 channel or newer.";
}
{
assertion = assertionHomeManager;
message = "You are currently using release-19.09 branch of home-manager, you need "
+ "to update to the release-20.03 channel.";
message = "You are currently using release-19.09 branch or older of home-manager, you need "
+ "to update to the release-20.03 channel or newer.";
}
];
}