mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
Merge branch 'main' of codeberg.org:muon/home
This commit is contained in:
commit
62f7f7c3ed
6 changed files with 53 additions and 5 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./core
|
||||
./system
|
||||
|
|
@ -6,6 +10,7 @@
|
|||
./theme
|
||||
./server
|
||||
./sops
|
||||
./security
|
||||
|
||||
./impermanence.nix
|
||||
|
||||
|
|
|
|||
18
modules/nixos/security/clamav.nix
Normal file
18
modules/nixos/security/clamav.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
options.mods.clamav.enable = mkEnableOption "enables clamav";
|
||||
|
||||
config = mkIf config.mods.clamav.enable {
|
||||
services.clamav = {
|
||||
scanner.enable = true;
|
||||
updater.enable = true;
|
||||
fangfrisch.enable = true;
|
||||
daemon.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
9
modules/nixos/security/default.nix
Normal file
9
modules/nixos/security/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./clamav.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue