project-flake/desktops/aqore-nix/services/sudo.nix

17 lines
No EOL
252 B
Nix

{ config, pkgs, ... }:
{
security.sudo = {
enable = true;
extraRules = [{
commands = [
{
command = "/run/current-system/sw/bin/xp-pen-deco-01-v3-driver";
options = [ "NOPASSWD" ];
}
];
groups = [ "users" ];
}];
};
}