Skip to content

Commit f9d38ca

Browse files
authored
Merge pull request #435 from nix-community/24.11
Use 24.11 release
2 parents 653f13c + 0417215 commit f9d38ca

File tree

5 files changed

+28
-164
lines changed

5 files changed

+28
-164
lines changed

.github/settings.yml

Lines changed: 0 additions & 139 deletions
This file was deleted.

docs/howtos/use-without-flakes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ same directory as `disko-config.nix`.
4040
```nix
4141
# default.nix
4242
let
43-
# replace nixos-24.05 with your preferred nixos version or revision from here: https://status.nixos.org/
44-
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-24.05.tar.gz";
43+
# replace nixos-24.11 with your preferred nixos version or revision from here: https://status.nixos.org/
44+
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-24.11.tar.gz";
4545
in
4646
import (nixpkgs + "/nixos/lib/eval-config.nix") {
4747
modules = [ ./configuration.nix ];
@@ -63,7 +63,7 @@ import (nixpkgs + "/nixos/lib/eval-config.nix") {
6363
6464
# Set this to the NixOS version that you have set in the previous step.
6565
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
66-
system.stateVersion = "24.05";
66+
system.stateVersion = "24.11";
6767
}
6868
```
6969

flake.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# used for testing
99
disko = { url = "github:nix-community/disko/master"; inputs.nixpkgs.follows = "nixpkgs"; };
10-
nixos-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
10+
nixos-stable.url = "github:NixOS/nixpkgs/nixos-24.11";
1111
nixos-images.url = "github:nix-community/nixos-images";
1212
nixos-images.inputs.nixos-unstable.follows = "nixpkgs";
1313
nixos-images.inputs.nixos-stable.follows = "nixos-stable";

src/nixos-anywhere.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ Usage: nixos-anywhere [options] [<ssh-host>]
6767
Options:
6868
6969
* -f, --flake <flake_uri>
70-
set the flake to install the system from.
70+
set the flake to install the system from. i.e.
71+
nixos-anywhere --flake .#mymachine
72+
Also supports variants:
73+
nixos-anywhere --flake .#nixosConfigurations.mymachine.config.virtualisation.vmVariant
7174
* --target-host <ssh-host>
7275
specified the SSH target host to deploy onto.
7376
* -i <identity_file>
@@ -486,7 +489,7 @@ runKexec() {
486489
if [[ $kexecUrl == "" ]]; then
487490
case "${isArch}" in
488491
x86_64 | aarch64)
489-
kexecUrl="https://github.com/nix-community/nixos-images/releases/download/nixos-24.05/nixos-kexec-installer-noninteractive-${isArch}-linux.tar.gz"
492+
kexecUrl="https://github.com/nix-community/nixos-images/releases/download/nixos-24.11/nixos-kexec-installer-noninteractive-${isArch}-linux.tar.gz"
490493
;;
491494
*)
492495
abort "Unsupported architecture: ${isArch}. Our default kexec images only support x86_64 and aarch64 cpus. Checkout https://github.com/nix-community/nixos-anywhere/#using-your-own-kexec-image for more information."

0 commit comments

Comments
 (0)