mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 08:10:33 +01:00
added clamav
This commit is contained in:
parent
13a8cd116c
commit
c58269d635
12
hosts/antivirus.nix
Normal file
12
hosts/antivirus.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{config, lib, pkgs, ...}:
|
||||
{
|
||||
services.clamav = {
|
||||
updater.enable = true;
|
||||
updater.settings = {
|
||||
LogVerbose = true;
|
||||
};
|
||||
updater.interval = "hourly";
|
||||
daemon.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue