Commit 9c32386c authored by phaer's avatar phaer
Browse files

nixos/journald: move enableHttpGateway rename to journald-gateway.nix

journald.nix had mkRenamedOptionModule from enableHttpGateway to
services.journald.gateway.enable. Move it to journald-gateway.nix
where the target option is defined.
parent f1bf13d0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";
+0 −4
Original line number Diff line number Diff line
@@ -10,10 +10,6 @@ let
in
{
  imports = [
    (lib.mkRenamedOptionModule
      [ "services" "journald" "enableHttpGateway" ]
      [ "services" "journald" "gateway" "enable" ]
    )
  ];

  options = {