Add usbguard service

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-04 19:51:01 +02:00
parent 0fd0a73e92
commit e805c868a7
2 changed files with 31 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{config, ...}: {
services.usbguard = {
enable = true;
implicitPolicyTarget = "block";
IPCAllowedUsers = ["root" config.var.username];
};
}