mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Compare commits
2 commits
2a8dd740a3
...
c6092ffb4a
| Author | SHA1 | Date | |
|---|---|---|---|
| c6092ffb4a | |||
| 8d0f77e82f |
4 changed files with 34 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ in {
|
||||||
mods.desktop.wayland.enable = false;
|
mods.desktop.wayland.enable = false;
|
||||||
mods.desktop.gaming.enable = true;
|
mods.desktop.gaming.enable = true;
|
||||||
mods.boot.enable = true;
|
mods.boot.enable = true;
|
||||||
|
mods.clamav.enable = true;
|
||||||
|
|
||||||
mods.theme.enable = true;
|
mods.theme.enable = true;
|
||||||
mods.theme.scheme = "woodland";
|
mods.theme.scheme = "woodland";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
{ pkgs, lib, ... }: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./core
|
./core
|
||||||
./system
|
./system
|
||||||
|
|
@ -6,6 +10,7 @@
|
||||||
./theme
|
./theme
|
||||||
./server
|
./server
|
||||||
./sops
|
./sops
|
||||||
|
./security
|
||||||
|
|
||||||
./impermanence.nix
|
./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