Files
.dotfiles/system/security/sudo.nix
T

17 lines
244 B
Nix

{ config, pkgs, ... }:
{
security.sudo.extraRules = [
{
users = [ "jashton" ];
commands = [
{
command = "/run/current-system/sw/bin/tlp";
options = [ "NOPASSWD" ];
}
];
}
];
}