diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 343777d05c3a..003ff7c78cff 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -786,6 +786,5 @@ in }; imports = [ - (mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ]) ]; } diff --git a/nixos/modules/system/boot/systemd/journald-gateway.nix b/nixos/modules/system/boot/systemd/journald-gateway.nix index b8c0a1a25d6d..cede0a65f510 100644 --- a/nixos/modules/system/boot/systemd/journald-gateway.nix +++ b/nixos/modules/system/boot/systemd/journald-gateway.nix @@ -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"; diff --git a/nixos/modules/system/boot/systemd/journald.nix b/nixos/modules/system/boot/systemd/journald.nix index 279da8f47c0b..7596228b75ff 100644 --- a/nixos/modules/system/boot/systemd/journald.nix +++ b/nixos/modules/system/boot/systemd/journald.nix @@ -10,10 +10,6 @@ let in { imports = [ - (lib.mkRenamedOptionModule - [ "services" "journald" "enableHttpGateway" ] - [ "services" "journald" "gateway" "enable" ] - ) ]; options = { diff --git a/nixos/modules/tasks/swraid.nix b/nixos/modules/tasks/swraid.nix index 01bc91b1b896..556bb45a456b 100644 --- a/nixos/modules/tasks/swraid.nix +++ b/nixos/modules/tasks/swraid.nix @@ -26,6 +26,7 @@ in [ "boot" "initrd" "services" "swraid" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ] ) + (lib.mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ]) ]; options.boot.swraid = {