nixos/{stage-1,journald}: move option renames to defining modules (#507667)

This commit is contained in:
Paul Haerle
2026-04-08 19:03:48 +00:00
committed by GitHub
4 changed files with 8 additions and 5 deletions
-1
View File
@@ -786,6 +786,5 @@ in
};
imports = [
(mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
];
}
@@ -21,6 +21,13 @@ let
};
in
{
imports = [
(lib.mkRenamedOptionModule
[ "services" "journald" "enableHttpGateway" ]
[ "services" "journald" "gateway" "enable" ]
)
];
meta.maintainers = [ lib.maintainers.raitobezarius ];
options.services.journald.gateway = {
enable = lib.mkEnableOption "the HTTP gateway to the journal";
@@ -10,10 +10,6 @@ let
in
{
imports = [
(lib.mkRenamedOptionModule
[ "services" "journald" "enableHttpGateway" ]
[ "services" "journald" "gateway" "enable" ]
)
];
options = {
+1
View File
@@ -26,6 +26,7 @@ in
[ "boot" "initrd" "services" "swraid" "mdadmConf" ]
[ "boot" "swraid" "mdadmConf" ]
)
(lib.mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
];
options.boot.swraid = {