set stable version to 23.11

This commit is contained in:
Alexander Sosedkin 2024-02-17 13:18:50 +01:00
parent 4b1a6ebcc7
commit be783dd251
24 changed files with 48 additions and 46 deletions

View file

@ -1,6 +1,8 @@
# Changelog # Changelog
## Release 23.11 (unreleased) ## Release 24.05 (unreleased)
## Release 23.11
### New Options ### New Options

View file

@ -53,7 +53,7 @@ for example:
{ {
environment.packages = [ pkgs.vim ]; environment.packages = [ pkgs.vim ];
system.stateVersion = "23.05"; system.stateVersion = "23.11";
} }
``` ```
@ -67,7 +67,7 @@ An alternative location is `~/.config/nixpkgs/config.nix` with the key
{ {
environment.packages = [ pkgs.vim ]; environment.packages = [ pkgs.vim ];
system.stateVersion = "23.05"; system.stateVersion = "23.11";
}; };
} }
``` ```
@ -80,7 +80,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
1. Add `home-manager` channel: 1. Add `home-manager` channel:
```sh ```sh
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
nix-channel --update nix-channel --update
``` ```
2. Configure `home-manager`: 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 # Read Nix-on-Droid changelog before changing this value
system.stateVersion = "23.05"; system.stateVersion = "23.11";
# insert Nix-on-Droid config # insert Nix-on-Droid config
@ -97,7 +97,7 @@ To enable `home-manager` you simply need to follow the instructions already prov
{ pkgs, ... }: { pkgs, ... }:
{ {
# Read home-manager changelog before changing this value # Read home-manager changelog before changing this value
home.stateVersion = "23.05"; home.stateVersion = "23.11";
# insert home-manager config # 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."; description = "Minimal example of Nix-on-Droid system config.";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nix-on-droid = { nix-on-droid = {
url = "github:nix-community/nix-on-droid/release-23.05"; url = "github:nix-community/nix-on-droid/release-23.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };

View file

@ -1,4 +1,4 @@
<!-- Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE. --> <!-- Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE. -->
<book xmlns="http://docbook.org/ns/docbook" <book xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xi="http://www.w3.org/2001/XInclude"
@ -31,10 +31,10 @@
<programlisting language="nix"> <programlisting language="nix">
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nix-on-droid = { nix-on-droid = {
url = "github:nix-community/nix-on-droid/release-23.05"; url = "github:nix-community/nix-on-droid/release-23.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };

View file

@ -1,12 +1,12 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE. # Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
let let
defaultNixpkgsBranch = "nixos-23.05"; defaultNixpkgsBranch = "nixos-23.11";
defaultNixOnDroidBranch = "release-23.05"; defaultNixOnDroidBranch = "release-23.11";
defaultNixpkgsChannel = "https://nixos.org/channels/${defaultNixpkgsBranch}"; defaultNixpkgsChannel = "https://nixos.org/channels/${defaultNixpkgsBranch}";
defaultNixOnDroidChannel = "https://github.com/nix-community/nix-on-droid/archive/${defaultNixOnDroidBranch}.tar.gz"; defaultNixOnDroidChannel = "https://github.com/nix-community/nix-on-droid/archive/${defaultNixOnDroidBranch}.tar.gz";

View file

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

View file

@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE. # Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
@ -21,6 +21,7 @@ with lib;
"22.11" "22.11"
"23.05" "23.05"
"23.11" "23.11"
"24.05"
]; ];
description = '' description = ''
It is occasionally necessary for Nix-on-Droid to change It is occasionally necessary for Nix-on-Droid to change

View file

@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE. # Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.
{ nixpkgs { nixpkgs
, system , system
@ -35,7 +35,7 @@ let
pkgs = pkgs.lib.mkForce pkgs; # to override ./modules/nixpkgs/config.nix pkgs = pkgs.lib.mkForce pkgs; # to override ./modules/nixpkgs/config.nix
}; };
system.stateVersion = "23.05"; system.stateVersion = "23.11";
# Fix invoking bash after initial build. # Fix invoking bash after initial build.
user.shell = "${initialPackageInfo.bash}/bin/bash"; user.shell = "${initialPackageInfo.bash}/bin/bash";

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -59,7 +59,6 @@ PROOT_ARGS=(
"-b" "/dev" "-b" "/dev"
"-b" "/proc" "-b" "/proc"
"-b" "/sys" "-b" "/sys"
"--link2symlink"
) )

View file

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

View file

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

View file

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

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
system.stateVersion = "23.05"; system.stateVersion = "23.11";
networking.hosts."127.0.0.2" = [ "localhost" ]; networking.hosts."127.0.0.2" = [ "localhost" ];
} }

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
system.stateVersion = "23.05"; system.stateVersion = "23.11";
networking = { networking = {
hosts."127.0.0.2" = [ "a" "b" ]; hosts."127.0.0.2" = [ "a" "b" ];

View file

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

View file

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

View file

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

View file

@ -1,7 +1,7 @@
_: _:
{ {
system.stateVersion = "23.05"; system.stateVersion = "23.11";
terminal.colors = { terminal.colors = {
background = "#FFFFFF"; background = "#FFFFFF";
foreground = "#000000"; foreground = "#000000";