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