Skip to content

Commit c589ea1

Browse files
committed
feat: switch to nixos 25.11
1 parent 4e92665 commit c589ea1

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed

flake-modules/args.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
# can be overriden in module
1515
moduleArgs = {
1616
stateVersions = {
17-
linux = "25.05";
17+
linux = "25.11";
1818
darwin = 6;
19-
home = "25.05";
19+
home = "25.11";
2020
};
2121
user = {
2222
name = "Mirko Lenz";

flake.lock

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

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
# Nixpkgs
1919
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
2020
nixpkgs-linux-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
21-
nixpkgs-linux-stable.url = "github:nixos/nixpkgs/nixos-25.05";
22-
nixpkgs-darwin-stable.url = "github:nixos/nixpkgs/nixpkgs-25.05-darwin";
21+
nixpkgs-linux-stable.url = "github:nixos/nixpkgs/nixos-25.11";
22+
nixpkgs-darwin-stable.url = "github:nixos/nixpkgs/nixpkgs-25.11-darwin";
2323

2424
# Small helpers
2525
flake-parts = {

home/mlenz/common/packages/commands.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
echo "Optimising store..."
6262
nix store optimise
6363
'';
64-
# https://github.com/NixOS/nixpkgs/blob/nixos-25.05/nixos/modules/tasks/auto-upgrade.nix#L243
64+
# https://github.com/NixOS/nixpkgs/blob/nixos-25.11/nixos/modules/tasks/auto-upgrade.nix#L268
6565
needs-reboot = ''
6666
booted="$(readlink /run/booted-system/{initrd,kernel,kernel-modules})"
6767
built="$(readlink /nix/var/nix/profiles/system/{initrd,kernel,kernel-modules})"

home/mlenz/darwin/default.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,5 @@
4444
home.shellAliases = {
4545
copy = ''${lib.getExe' pkgs.coreutils "tr"} -d '\n' | pbcopy'';
4646
};
47-
# todo: remove after 25.11
48-
targets.darwin.linkApps.enable = false;
49-
targets.darwin.copyApps.enable = true;
5047
targets.darwin.copyApps.enableChecks = false; # requires sudo during activation
5148
}

0 commit comments

Comments
 (0)