Skip to content

Commit

Permalink
set stable version to 23.11
Browse files Browse the repository at this point in the history
  • Loading branch information
t184256 committed Feb 17, 2024
1 parent b251ac8 commit 6bccf0a
Show file tree
Hide file tree
Showing 23 changed files with 48 additions and 45 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## Release 23.11 (unreleased)
## Release 24.05 (unreleased)

## Release 23.11

### New Options

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for example:
{
environment.packages = [ pkgs.vim ];
system.stateVersion = "23.05";
system.stateVersion = "23.11";
}
```

Expand All @@ -67,7 +67,7 @@ An alternative location is `~/.config/nixpkgs/config.nix` with the key
{
environment.packages = [ pkgs.vim ];
system.stateVersion = "23.05";
system.stateVersion = "23.11";
};
}
```
Expand All @@ -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/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
```
2. Configure `home-manager`:
Expand All @@ -89,15 +89,15 @@ To enable `home-manager` you simply need to follow the instructions already prov
{
# Read Nix-on-Droid changelog before changing this value
system.stateVersion = "23.05";
system.stateVersion = "23.11";
# insert Nix-on-Droid config
home-manager.config =
{ pkgs, ... }:
{
# Read home-manager changelog before changing this value
home.stateVersion = "23.05";
home.stateVersion = "23.11";
# insert home-manager config
};
Expand Down Expand Up @@ -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-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
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";
};
};
Expand Down
6 changes: 3 additions & 3 deletions docs/manual.xml
Original file line number Diff line number Diff line change
@@ -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"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
Expand Down Expand Up @@ -31,10 +31,10 @@
<programlisting language="nix">
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";

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";
};
};
Expand Down
6 changes: 3 additions & 3 deletions modules/build/initial-build.nix
Original file line number Diff line number Diff line change
@@ -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, ... }:

with lib;

let
defaultNixpkgsBranch = "nixos-23.05";
defaultNixOnDroidBranch = "release-23.05";
defaultNixpkgsBranch = "nixos-23.11";
defaultNixOnDroidBranch = "release-23.11";

defaultNixpkgsChannel = "https://nixos.org/channels/${defaultNixpkgsBranch}";
defaultNixOnDroidChannel = "https://github.com/nix-community/nix-on-droid/archive/${defaultNixOnDroidBranch}.tar.gz";
Expand Down
6 changes: 3 additions & 3 deletions modules/environment/login/nix-on-droid.nix.default
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";

# Read the changelog before changing this value
system.stateVersion = "23.05";
system.stateVersion = "23.11";

# Set up nix for flakes
#nix.extraOptions = ''
Expand All @@ -39,7 +39,7 @@
#time.timeZone = "Europe/Berlin";

# 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
# you can configure home-manager in here like
#home-manager = {
Expand All @@ -49,7 +49,7 @@
# { config, lib, pkgs, ... }:
# {
# # Read the changelog before changing this value
# home.stateVersion = "23.05";
# home.stateVersion = "23.11";
#
# # insert home-manager config
# };
Expand Down
3 changes: 2 additions & 1 deletion modules/version.nix
Original file line number Diff line number Diff line change
@@ -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, ... }:

Expand All @@ -21,6 +21,7 @@ with lib;
"22.11"
"23.05"
"23.11"
"24.05"
];
description = ''
It is occasionally necessary for Nix-on-Droid to change
Expand Down
4 changes: 2 additions & 2 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
@@ -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
, system
Expand Down Expand Up @@ -35,7 +35,7 @@ let
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.
user.shell = "${initialPackageInfo.bash}/bin/bash";
Expand Down
6 changes: 3 additions & 3 deletions templates/advanced/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
description = "Advanced example of Nix-on-Droid system config with home-manager.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";

home-manager = {
url = "github:nix-community/home-manager/release-23.05";
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};

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.home-manager.follows = "home-manager";
};
Expand Down
2 changes: 1 addition & 1 deletion templates/advanced/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
# Read the changelog before changing this value
home.stateVersion = "23.05";
home.stateVersion = "23.11";

# insert home-manager config
}
2 changes: 1 addition & 1 deletion templates/advanced/nix-on-droid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";

# Read the changelog before changing this value
system.stateVersion = "23.05";
system.stateVersion = "23.11";

# Set up nix for flakes
nix.extraOptions = ''
Expand Down
6 changes: 3 additions & 3 deletions templates/home-manager/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
description = "Minimal example of Nix-on-Droid system config with home-manager.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";

home-manager = {
url = "github:nix-community/home-manager/release-23.05";
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};

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.home-manager.follows = "home-manager";
};
Expand Down
4 changes: 2 additions & 2 deletions templates/home-manager/nix-on-droid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";

# Read the changelog before changing this value
system.stateVersion = "23.05";
system.stateVersion = "23.11";

# Set up nix for flakes
nix.extraOptions = ''
Expand All @@ -47,7 +47,7 @@
{ config, lib, pkgs, ... }:
{
# Read the changelog before changing this value
home.stateVersion = "23.05";
home.stateVersion = "23.11";

# insert home-manager config
};
Expand Down
4 changes: 2 additions & 2 deletions templates/minimal/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
description = "Basic example of Nix-on-Droid system config.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";

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";
};
};
Expand Down
2 changes: 1 addition & 1 deletion templates/minimal/nix-on-droid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
environment.etcBackupExtension = ".bak";

# Read the changelog before changing this value
system.stateVersion = "23.05";
system.stateVersion = "23.11";

# Set up nix for flakes
nix.extraOptions = ''
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-flake-default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Nix-on-Droid configuration";

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.inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
4 changes: 2 additions & 2 deletions tests/on-device/config-flake-h-m.cfg.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{ pkgs, config, ... }:

{
system.stateVersion = "23.05";
system.stateVersion = "23.11";

# no nixpkgs.overlays defined
environment.packages = with pkgs; [ zsh ];

home-manager.config =
{ pkgs, ... }:
{
home.stateVersion = "23.05";
home.stateVersion = "23.11";

nixpkgs.overlays = config.nixpkgs.overlays;
home.packages = with pkgs; [ dash ];
Expand Down
4 changes: 2 additions & 2 deletions tests/on-device/config-flake-h-m.flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
description = "Nix-on-Droid configuration";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-23.05";
home-manager.url = "github:nix-community/home-manager/release-23.05";
nixpkgs.url = "github:NixOS/nixpkgs/release-23.11";
home-manager.url = "github:nix-community/home-manager/release-23.11";
nix-on-droid.url = "<<FLAKE_URL>>";
nix-on-droid.inputs.nixpkgs.follows = "nixpkgs";
nix-on-droid.inputs.home-manager.follows = "home-manager";
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-flake-hosts-localhost.cfg.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ pkgs, ... }:

{
system.stateVersion = "23.05";
system.stateVersion = "23.11";

networking.hosts."127.0.0.2" = [ "localhost" ];
}
2 changes: 1 addition & 1 deletion tests/on-device/config-flake-hosts.cfg.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ pkgs, ... }:

{
system.stateVersion = "23.05";
system.stateVersion = "23.11";

networking = {
hosts."127.0.0.2" = [ "a" "b" ];
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Nix-on-Droid configuration";

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.inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-h-m.bats
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ teardown() {
[[ ! -e ~/.config/example ]]

# 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
cp "$ON_DEVICE_TESTS_DIR/config-h-m.nix" ~/.config/nixpkgs/nix-on-droid.nix
nix-on-droid switch
Expand Down
4 changes: 2 additions & 2 deletions tests/on-device/config-h-m.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ pkgs, config, ... }:

{
system.stateVersion = "23.05";
system.stateVersion = "23.11";

home-manager.config =
{ pkgs, lib, ... }:
{
home.stateVersion = "23.05";
home.stateVersion = "23.11";
nixpkgs = { inherit (config.nixpkgs) overlays; };

# example config
Expand Down
2 changes: 1 addition & 1 deletion tests/on-device/config-term-colors.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_:

{
system.stateVersion = "23.05";
system.stateVersion = "23.11";
terminal.colors = {
background = "#FFFFFF";
foreground = "#000000";
Expand Down

0 comments on commit 6bccf0a

Please sign in to comment.