Files
nixos-configuration/hosts/pi4/security/default.nix

23 lines
325 B
Nix
Raw Normal View History

{ systemConfig, ... }:
2025-04-15 23:39:10 +02:00
{
imports = [
./firewall.nix
];
security.sudo.extraRules = [
{
users = [ systemConfig.username ];
runAs = "ALL:ALL";
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
}
];
services.pcscd.enable = true;
2025-04-15 23:39:10 +02:00
}