nixos/{stage-1,journald}: move option renames to defining modules (#507667)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -26,6 +26,7 @@ in
|
||||
[ "boot" "initrd" "services" "swraid" "mdadmConf" ]
|
||||
[ "boot" "swraid" "mdadmConf" ]
|
||||
)
|
||||
(lib.mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
|
||||
];
|
||||
|
||||
options.boot.swraid = {
|
||||
|
||||
Reference in New Issue
Block a user