diff --git a/hosts/antivirus.nix b/hosts/antivirus.nix new file mode 100644 index 0000000..35966aa --- /dev/null +++ b/hosts/antivirus.nix @@ -0,0 +1,12 @@ +{config, lib, pkgs, ...}: +{ + services.clamav = { + updater.enable = true; + updater.settings = { + LogVerbose = true; + }; + updater.interval = "hourly"; + daemon.enable = true; + }; +} + diff --git a/hosts/lilith/default.nix b/hosts/lilith/default.nix index 373c191..d62b73f 100644 --- a/hosts/lilith/default.nix +++ b/hosts/lilith/default.nix @@ -4,6 +4,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ../antivirus.nix #nixos-hardware.nixosModules.lenovo.thinkpad.t480 #(builtins.getFlake (builtins.fetchGit "github:NixOs/nixos-hardware")).nixosModules.lenovo-thinkpad-t480 ]; @@ -114,6 +115,7 @@ extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. packages = with pkgs; [ nushell + clamtk ]; shell = pkgs.nushell; };