Enable passwordless sudo for hensoko

This commit is contained in:
Hendrik Sokolowski 2022-05-16 11:11:53 +02:00
parent afecf5b555
commit db551c0588

View file

@ -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;