diff --git a/users/hensoko/home.nix b/users/hensoko/home.nix index ab75acf4..3d14e22d 100644 --- a/users/hensoko/home.nix +++ b/users/hensoko/home.nix @@ -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;