Enable passwordless sudo for hensoko
This commit is contained in:
parent
afecf5b555
commit
db551c0588
|
@ -12,6 +12,18 @@ in
|
|||
|
||||
pub-solar.graphical.autologin.enable = false;
|
||||
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
users = [ "${psCfg.user.name}" ];
|
||||
commands = [
|
||||
{
|
||||
command = "ALL";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
||||
xdg.configFile = mkIf psCfg.sway.enable {
|
||||
"sway/config.d/10-input-language.conf".source = ./.config/sway/config.d/input-language.conf;
|
||||
|
|
Loading…
Reference in a new issue