diff --git a/nixos/modules/system/boot/systemd/journald-gateway.nix b/nixos/modules/system/boot/systemd/journald-gateway.nix index f0d80077e6d6..952177f85805 100644 --- a/nixos/modules/system/boot/systemd/journald-gateway.nix +++ b/nixos/modules/system/boot/systemd/journald-gateway.nix @@ -108,18 +108,6 @@ in }; config = lib.mkIf cfg.enable { - assertions = [ - { - # This prevents the weird case were disabling "system" and "user" - # actually enables both because the cli flags are not present. - assertion = cfg.system || cfg.user; - message = '' - systemd-journal-gatewayd cannot serve neither "system" nor "user" - journals. - ''; - } - ]; - systemd.additionalUpstreamSystemUnits = [ "systemd-journal-gatewayd.socket" "systemd-journal-gatewayd.service"