Skip to content

Commit 452d59f

Browse files
Merge staging-next into staging
2 parents b785b5b + ddc9c24 commit 452d59f

57 files changed

Lines changed: 1100 additions & 1496 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

maintainers/maintainer-list.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13436,6 +13436,12 @@
1343613436
githubId = 12773748;
1343713437
matrix = "@j.r:chaos.jetzt";
1343813438
};
13439+
jujb233 = {
13440+
name = "jujb233";
13441+
email = "j3207068746@163.com";
13442+
github = "jujb233";
13443+
githubId = 191588056;
13444+
};
1343913445
jukremer = {
1344013446
email = "nixpkgs@jankremer.eu";
1344113447
github = "jukremer";

nixos/doc/manual/release-notes/rl-2605.section.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ See <https://github.com/NixOS/nixpkgs/issues/481673>.
256256

257257
- `programs.light` was removed from nixpkgs due to the corresponding package being unmaintained upstream. `brightnessctl` and `programs.acpilight` offer replacements.
258258

259+
- `ceph` has been upgraded to v20. See the [Ceph "tentacle" release notes](https://docs.ceph.com/en/latest/releases/tentacle/#v20-2-0-tentacle) for details and recommended upgrade procedure.
260+
Note that **upgrades of server-side components are one-way**, and downgrading e.g. an OSD from *Tentacle* to *Squid* is not just not supported but is known to break.
261+
259262
- The `networking.wireless` module has been security hardened by default: the `wpa_supplicant` daemon now runs under an unprivileged user with restricted access to the system.
260263

261264
As part of these changes, `/etc/wpa_supplicant.conf` has been deprecated: the NixOS-generated configuration file is now linked to `/etc/wpa_supplicant/nixos.conf` and `/etc/wpa_supplicant/imperative.conf` has been added for imperatively configuring `wpa_supplicant` or when using [allowAuxiliaryImperativeNetworks](#opt-networking.wireless.allowAuxiliaryImperativeNetworks).

nixos/tests/ceph-single-node.nix

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ let
4343
{ pkgs, ... }:
4444
{
4545
virtualisation = {
46+
memorySize = 2048;
4647
emptyDiskImages = [
4748
20480
4849
20480
@@ -92,6 +93,10 @@ let
9293
cfg.osd2.name
9394
];
9495
};
96+
rgw = {
97+
enable = true;
98+
daemons = [ cfg.monA.name ];
99+
};
95100
};
96101
};
97102

@@ -100,6 +105,8 @@ let
100105
# For other ways to deploy a ceph cluster, look at the documentation at
101106
# https://docs.ceph.com/docs/master/
102107
testScript = ''
108+
import json
109+
103110
start_all()
104111
105112
monA.wait_for_unit("network.target")
@@ -194,6 +201,16 @@ let
194201
"ceph osd pool delete single-node-other-test single-node-other-test --yes-i-really-really-mean-it",
195202
)
196203
204+
# Bootstrap RGW
205+
monA.succeed(
206+
"sudo -u ceph mkdir -p /var/lib/ceph/radosgw/ceph-${cfg.monA.name}",
207+
"ceph auth get-or-create client.${cfg.monA.name} osd 'allow rwx' mon 'allow rw' > /var/lib/ceph/radosgw/ceph-${cfg.monA.name}/keyring",
208+
"chown ceph:ceph /var/lib/ceph/radosgw/ceph-${cfg.monA.name}/keyring",
209+
"systemctl start ceph-rgw-${cfg.monA.name}",
210+
)
211+
monA.wait_for_unit("ceph-rgw-${cfg.monA.name}")
212+
monA.wait_for_open_port(7480)
213+
197214
# Shut down ceph by stopping ceph.target.
198215
monA.succeed("systemctl stop ceph.target")
199216
@@ -204,6 +221,7 @@ let
204221
monA.wait_for_unit("ceph-osd-${cfg.osd0.name}")
205222
monA.wait_for_unit("ceph-osd-${cfg.osd1.name}")
206223
monA.wait_for_unit("ceph-osd-${cfg.osd2.name}")
224+
monA.wait_for_unit("ceph-rgw-${cfg.monA.name}")
207225
208226
# Ensure the cluster comes back up again
209227
monA.succeed("ceph -s | grep 'mon: 1 daemons'")
@@ -222,6 +240,32 @@ let
222240
monA.wait_for_open_port(8080)
223241
monA.wait_until_succeeds("curl -q --fail http://localhost:8080")
224242
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
243+
244+
# Initialize dashboard creds
245+
monA.succeed(
246+
"echo 'foo bar baz qux' > /tmp/dashboard_pw",
247+
"ceph dashboard ac-user-create admin -i /tmp/dashboard_pw administrator",
248+
"ceph dashboard set-rgw-credentials",
249+
)
250+
251+
# Get dashboard auth token
252+
auth_payload = json.dumps({"username": "admin", "password": "foo bar baz qux"})
253+
auth_response = json.loads(monA.succeed(
254+
f"curl --fail -s -X POST -H 'Accept: application/vnd.ceph.api.v1.0+json' -H 'Content-Type: application/json' -d '{auth_payload}' http://localhost:8080/api/auth",
255+
))
256+
token = auth_response["token"]
257+
258+
# Check cluster health via dashboard API
259+
health = json.loads(monA.succeed(
260+
f"curl --fail -s -H 'Accept: application/vnd.ceph.api.v1.0+json' -H 'Authorization: Bearer {token}' http://localhost:8080/api/health/minimal",
261+
))
262+
assert health["health"]["status"] == "HEALTH_OK"
263+
264+
# List daemons via REST API
265+
rgw_daemons = json.loads(monA.succeed(
266+
f"curl --fail -s -H 'Accept: application/vnd.ceph.api.v1.0+json' -H 'Authorization: Bearer {token}' http://localhost:8080/api/rgw/daemon",
267+
))
268+
assert rgw_daemons[0]["id"] == "a"
225269
'';
226270
in
227271
{

pkgs/applications/editors/vim/plugins/generated.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16426,6 +16426,19 @@ final: prev: {
1642616426
meta.hydraPlatforms = [ ];
1642716427
};
1642816428

16429+
tokyodark-nvim = buildVimPlugin {
16430+
pname = "tokyodark.nvim";
16431+
version = "0-unstable-2025-11-13";
16432+
src = fetchFromGitHub {
16433+
owner = "tiagovla";
16434+
repo = "tokyodark.nvim";
16435+
rev = "659aff3c73dc2e0159314050a81671f0b2eaad01";
16436+
hash = "sha256-THvvevUwK3p/aZW+FI2RNnduqWBcmWF5tueYwEY43FI=";
16437+
};
16438+
meta.homepage = "https://github.com/tiagovla/tokyodark.nvim/";
16439+
meta.hydraPlatforms = [ ];
16440+
};
16441+
1642916442
tokyonight-nvim = buildVimPlugin {
1643016443
pname = "tokyonight.nvim";
1643116444
version = "4.14.1-unstable-2026-03-24";

pkgs/applications/editors/vim/plugins/vim-plugin-names

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,7 @@ https://github.com/edkolev/tmuxline.vim/,,
12621262
https://github.com/folke/todo-comments.nvim/,,
12631263
https://github.com/freitass/todo.txt-vim/,,
12641264
https://github.com/akinsho/toggleterm.nvim/,,
1265+
https://github.com/tiagovla/tokyodark.nvim/,HEAD,
12651266
https://github.com/folke/tokyonight.nvim/,,
12661267
https://github.com/markonm/traces.vim/,,
12671268
https://github.com/LeonHeidelbach/trailblazer.nvim/,HEAD,

pkgs/applications/editors/vscode/extensions/anthropic.claude-code/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
88
mktplcRef = {
99
name = "claude-code";
1010
publisher = "anthropic";
11-
version = "2.1.96";
12-
hash = "sha256-9WVCySGmohmyzTzcskzGCHk6ZFX+/HwkpmX2yudVar8=";
11+
version = "2.1.101";
12+
hash = "sha256-L16rJFwOIK8afKXhZ2ekEEoRIRYfHoHTUHP0+iEL1BI=";
1313
};
1414

1515
postInstall = ''

pkgs/applications/emulators/libretro/cores/pcsx-rearmed.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
}:
66
mkLibretroCore {
77
core = "pcsx-rearmed";
8-
version = "0-unstable-2026-04-02";
8+
version = "0-unstable-2026-04-12";
99

1010
src = fetchFromGitHub {
1111
owner = "libretro";
1212
repo = "pcsx_rearmed";
13-
rev = "c1e885c71f24204a919e3bc40735497ccf541f0d";
14-
hash = "sha256-mJY9kngb/YsClAJFhsc6tHl857k2/MOHP/oWaltg+so=";
13+
rev = "13f09ce0e3eb375e02879c51926d2b7c54e5f86b";
14+
hash = "sha256-WjdliWglIYGI1X9jGq5LqCBLijlR56TOwiVmJjCTi8M=";
1515
};
1616

1717
dontConfigure = true;

pkgs/applications/emulators/libretro/cores/snes9x.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
}:
66
mkLibretroCore {
77
core = "snes9x";
8-
version = "0-unstable-2026-04-02";
8+
version = "0-unstable-2026-04-07";
99

1010
src = fetchFromGitHub {
1111
owner = "snes9xgit";
1212
repo = "snes9x";
13-
rev = "50e875548194429630e9c6a8d8522fa39c89d9ad";
14-
hash = "sha256-3DKk1bhtcrxaZ2Dvrtddmaiq2niAkRIOEU+jBuSsaas=";
13+
rev = "cc2b4e185a66778af6a062d0d5502e3ad92171c1";
14+
hash = "sha256-OZGvThUfKH5Zt71khrIqR1+wB2tup5Iq6eRAOQcMB8M=";
1515
};
1616

1717
makefile = "Makefile";

pkgs/applications/emulators/libretro/cores/stella.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
}:
66
mkLibretroCore {
77
core = "stella";
8-
version = "0-unstable-2026-04-04";
8+
version = "0-unstable-2026-04-12";
99

1010
src = fetchFromGitHub {
1111
owner = "stella-emu";
1212
repo = "stella";
13-
rev = "1a09c51e639d44bd821a598a095c5d3f6776590e";
14-
hash = "sha256-qEEE7QMTDwVFMB/6dmTq8VsOQ9qwYky8SBGD0KppqTs=";
13+
rev = "7d9148f97c9f4ba8903ba3e19cbfb418c779bbb5";
14+
hash = "sha256-l1PdtMtYmnYzUyEoAuZ2Wh9g85kUFHTfq6iBJOZ5Cfc=";
1515
};
1616

1717
makefile = "Makefile";

pkgs/applications/networking/cluster/terraform-providers/providers.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,11 +715,11 @@
715715
"vendorHash": "sha256-rd7QuDdq7xRMyaQIDyXY1DI2Tt/wy3oXan/nE0HIyT0="
716716
},
717717
"huaweicloud_huaweicloud": {
718-
"hash": "sha256-wkUdMBRyD16fDTC2+/Ie1Ugf9Eo1X3FQQXn2ivwpHx0=",
718+
"hash": "sha256-Eg811AwJwuHZ/270+TNh6JskCGRUt0ikk6yShjtVtcU=",
719719
"homepage": "https://registry.terraform.io/providers/huaweicloud/huaweicloud",
720720
"owner": "huaweicloud",
721721
"repo": "terraform-provider-huaweicloud",
722-
"rev": "v1.89.0",
722+
"rev": "v1.90.0",
723723
"spdx": "MPL-2.0",
724724
"vendorHash": null
725725
},

0 commit comments

Comments
 (0)