[nidaros] Copy security config from pi4

This commit is contained in:
2025-10-13 21:40:13 +02:00
parent e7240d511e
commit b1dd673fc5
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{ systemConfig, ... }:
{
imports = [
./firewall.nix
];
security.sudo.extraRules = [
{
users = [ systemConfig.username ];
runAs = "ALL:ALL";
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
services.pcscd.enable = true;
}