mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 20:03:54 +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 =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
../antivirus.nix
|
||||||
#nixos-hardware.nixosModules.lenovo.thinkpad.t480
|
#nixos-hardware.nixosModules.lenovo.thinkpad.t480
|
||||||
#(builtins.getFlake (builtins.fetchGit "github:NixOs/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.
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
nushell
|
nushell
|
||||||
|
clamtk
|
||||||
];
|
];
|
||||||
shell = pkgs.nushell;
|
shell = pkgs.nushell;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue