diff options
Diffstat (limited to 'nixos/modules/sentinel-fwlogs.nix')
-rw-r--r-- | nixos/modules/sentinel-fwlogs.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/nixos/modules/sentinel-fwlogs.nix b/nixos/modules/sentinel-fwlogs.nix deleted file mode 100644 index b7b056a..0000000 --- a/nixos/modules/sentinel-fwlogs.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ config, lib, pkgs, ... }: - -with lib; - -{ - - imports = [ ./sentinel.nix ]; - - - options = { - - services.sentinel.fwlogs = { - enable = mkOption { - type = types.bool; - default = true; - description = '' - Whether to enable the Turris Sentinel Firewall logs collector. - The services.sentinel.enable has to be enabled as well. - ''; - }; - }; - }; - - - config = mkIf config.services.sentinel.enable && config.services.sentinel.fwlogs.enable { - environment.systemPackages = [ pkgs.sentinel-fwlogs ]; - - systemd.services.sentinel-fwlogs = { - description = "Turris Sentinel Firewall Logs"; - wantedBy = [ "multi-user.target" ]; - path = [ pkgs.sentinel-fwlogs ]; - serviceConfig.ExecStart = "${pkgs.sentinel-fwlogs}/bin/sentinel-fwlogs"; - }; - - }; - -} |