23 lines
325 B
Nix
23 lines
325 B
Nix
{ systemConfig, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./firewall.nix
|
|
];
|
|
|
|
security.sudo.extraRules = [
|
|
{
|
|
users = [ systemConfig.username ];
|
|
runAs = "ALL:ALL";
|
|
commands = [
|
|
{
|
|
command = "ALL";
|
|
options = [ "NOPASSWD" ];
|
|
}
|
|
];
|
|
}
|
|
];
|
|
|
|
services.pcscd.enable = true;
|
|
}
|