mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
sudo: set default pwfeedback
This commit is contained in:
@@ -27,7 +27,8 @@ _: {
|
||||
services.upower.enable = true;
|
||||
|
||||
# removes need for password for nixos-rebuild
|
||||
security.sudo.extraRules = [
|
||||
security.sudo = {
|
||||
extraRules = [
|
||||
{
|
||||
users = ["tomasr"];
|
||||
commands = [
|
||||
@@ -46,5 +47,9 @@ _: {
|
||||
];
|
||||
}
|
||||
];
|
||||
extraConfig = ''
|
||||
Default pwfeedback
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user