set stable version to 22.11

This commit is contained in:
Tobias Happ 2022-12-01 22:12:40 +01:00 committed by Alexander Sosedkin
parent 7e8f1ad6e2
commit c70a1d9745
20 changed files with 50 additions and 39 deletions

View file

@ -1,6 +1,8 @@
# Changelog
## Release 22.11 (unreleased)
## Release 23.05 (unreleased)
## Release 22.11
* Terminal font now should be specified using `terminal.font` option,
set it to a TTF file to apply a font.

View file

@ -53,7 +53,7 @@ for example:
{
environment.packages = [ pkgs.vim ];
system.stateVersion = "22.05";
system.stateVersion = "22.11";
}
```
@ -67,7 +67,7 @@ An alternative location is `~/.config/nixpkgs/config.nix` with the key
{
environment.packages = [ pkgs.vim ];
system.stateVersion = "22.05";
system.stateVersion = "22.11";
};
}
```
@ -80,7 +80,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
1. Add `home-manager` channel:
```sh
nix-channel --add https://github.com/rycee/home-manager/archive/release-22.05.tar.gz home-manager
nix-channel --add https://github.com/rycee/home-manager/archive/release-22.11.tar.gz home-manager
nix-channel --update
```
2. Configure `home-manager`:
@ -89,7 +89,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
{
# Read Nix-on-Droid changelog before changing this value
system.stateVersion = "22.05";
system.stateVersion = "22.11";
# insert Nix-on-Droid config
@ -97,7 +97,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
{ pkgs, ... }:
{
# Read home-manager changelog before changing this value
home.stateVersion = "22.05";
home.stateVersion = "22.11";
# insert home-manager config
};
@ -181,10 +181,10 @@ A minimal example could look like the following:
description = "Minimal example of Nix-on-Droid system config.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nix-on-droid = {
url = "github:t184256/nix-on-droid/release-22.05";
url = "github:t184256/nix-on-droid/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};

View file

@ -31,10 +31,10 @@
<programlisting language="nix">
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nix-on-droid = {
url = "github:t184256/nix-on-droid/release-22.05";
url = "github:t184256/nix-on-droid/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};

View file

@ -5,8 +5,8 @@
with lib;
let
defaultNixpkgsBranch = "nixos-22.05";
defaultNixOnDroidBranch = "release-22.05";
defaultNixpkgsBranch = "nixos-22.11";
defaultNixOnDroidBranch = "release-22.11";
defaultNixpkgsChannel = "https://nixos.org/channels/${defaultNixpkgsBranch}";
defaultNixOnDroidChannel = "https://github.com/t184256/nix-on-droid/archive/${defaultNixOnDroidBranch}.tar.gz";

View file

@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";
# Read the changelog before changing this value
system.stateVersion = "22.05";
system.stateVersion = "22.11";
# Set up nix for flakes
#nix.extraOptions = ''
@ -39,7 +39,7 @@
#time.timeZone = "Europe/Berlin";
# After installing home-manager channel like
# nix-channel --add https://github.com/rycee/home-manager/archive/release-22.05.tar.gz home-manager
# nix-channel --add https://github.com/rycee/home-manager/archive/release-22.11.tar.gz home-manager
# nix-channel --update
# you can configure home-manager in here like
#home-manager = {
@ -49,7 +49,7 @@
# { config, lib, pkgs, ... }:
# {
# # Read the changelog before changing this value
# home.stateVersion = "22.05";
# home.stateVersion = "22.11";
#
# # insert home-manager config
# };

View file

@ -11,7 +11,16 @@ with lib;
options = {
system.stateVersion = mkOption {
type = types.enum [ "19.09" "20.03" "20.09" "21.05" "21.11" "22.05" ];
type = types.enum [
"19.09"
"20.03"
"20.09"
"21.05"
"21.11"
"22.05"
"22.11"
"23.05"
];
description = ''
It is occasionally necessary for Nix-on-Droid to change
configuration defaults in a way that is incompatible with

View file

@ -35,7 +35,7 @@ let
pkgs = pkgs.lib.mkForce pkgs; # to override ./modules/nixpkgs/config.nix
};
system.stateVersion = "22.05";
system.stateVersion = "22.11";
# Fix invoking bash after initial build.
user.shell = "${initialPackageInfo.bash}/bin/bash";

View file

@ -2,15 +2,15 @@
description = "Advanced example of Nix-on-Droid system config with home-manager.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
home-manager = {
url = "github:nix-community/home-manager/release-22.05";
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-on-droid = {
url = "github:t184256/nix-on-droid/release-22.05";
url = "github:t184256/nix-on-droid/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};

View file

@ -2,7 +2,7 @@
{
# Read the changelog before changing this value
home.stateVersion = "22.05";
home.stateVersion = "22.11";
# insert home-manager config
}

View file

@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";
# Read the changelog before changing this value
system.stateVersion = "22.05";
system.stateVersion = "22.11";
# Set up nix for flakes
nix.extraOptions = ''

View file

@ -2,15 +2,15 @@
description = "Minimal example of Nix-on-Droid system config with home-manager.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
home-manager = {
url = "github:nix-community/home-manager/release-22.05";
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-on-droid = {
url = "github:t184256/nix-on-droid/release-22.05";
url = "github:t184256/nix-on-droid/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};

View file

@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";
# Read the changelog before changing this value
system.stateVersion = "22.05";
system.stateVersion = "22.11";
# Set up nix for flakes
nix.extraOptions = ''
@ -47,7 +47,7 @@
{ config, lib, pkgs, ... }:
{
# Read the changelog before changing this value
home.stateVersion = "22.05";
home.stateVersion = "22.11";
# insert home-manager config
};

View file

@ -2,10 +2,10 @@
description = "Basic example of Nix-on-Droid system config.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nix-on-droid = {
url = "github:t184256/nix-on-droid/release-22.05";
url = "github:t184256/nix-on-droid/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};

View file

@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";
# Read the changelog before changing this value
system.stateVersion = "22.05";
system.stateVersion = "22.11";
# Set up nix for flakes
nix.extraOptions = ''

View file

@ -2,7 +2,7 @@
description = "Nix-on-Droid configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
};

View file

@ -1,7 +1,7 @@
{ pkgs, config, ... }:
{
system.stateVersion = "22.05";
system.stateVersion = "22.11";
# no nixpkgs.overlays defined
environment.packages = with pkgs; [ zsh ];
@ -9,7 +9,7 @@
home-manager.config =
{ pkgs, ... }:
{
home.stateVersion = "22.05";
home.stateVersion = "22.11";
nixpkgs.overlays = config.nixpkgs.overlays;
home.packages = with pkgs; [ dash ];

View file

@ -2,8 +2,8 @@
description = "Nix-on-Droid configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-22.05";
home-manager.url = "github:nix-community/home-manager/release-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
home-manager.url = "github:nix-community/home-manager/release-22.11";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
nix-on-droid.inputs.home-manager.follows = "home-manager";

View file

@ -2,7 +2,7 @@
description = "Nix-on-Droid configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-22.05";
nixpkgs.url = "github:NixOS/nixpkgs/release-22.11";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
};

View file

@ -21,7 +21,7 @@ teardown() {
[[ ! -e ~/.config/example ]]
# set up / build / activate the configuration
nix-channel --add https://github.com/rycee/home-manager/archive/release-22.05.tar.gz home-manager
nix-channel --add https://github.com/rycee/home-manager/archive/release-22.11.tar.gz home-manager
nix-channel --update
cp "$ON_DEVICE_TESTS_DIR/config-h-m.nix" ~/.config/nixpkgs/nix-on-droid.nix
nix-on-droid switch

View file

@ -1,12 +1,12 @@
{ pkgs, config, ... }:
{
system.stateVersion = "22.05";
system.stateVersion = "22.11";
home-manager.config =
{ pkgs, lib, ... }:
{
home.stateVersion = "22.05";
home.stateVersion = "22.11";
nixpkgs = { inherit (config.nixpkgs) overlays; };
# example config