home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8a564203907b02d8269e9fc693fcc77a6938201c
parent cc61d01e8f1f356fbb058ca666f885d1ef285c22
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 22 Apr 2020 10:08:16 +0200

machine/wakasu: add kubernix to sudo nopasswd

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtmp/nixos-configuration/machine/wakasu.nix | 13+++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/tmp/nixos-configuration/machine/wakasu.nix b/tmp/nixos-configuration/machine/wakasu.nix @@ -53,6 +53,11 @@ with import ../assets/machines.nix; { programs = { podman.enable = true; }; + security.sudo = { + extraConfig = '' + %users ALL = (root) NOPASSWD: /home/vincent/.nix-profile/bin/kubernix + ''; + }; services = { logind.extraConfig = '' HandleLidSwitch=ignore @@ -76,10 +81,10 @@ with import ../assets/machines.nix; { videoDrivers = [ "nvidia" ]; dpi = 96; serverFlagsSection = '' - Option "BlankTime" "0" - Option "StandbyTime" "0" - Option "SuspendTime" "0" - Option "OffTime" "0" + Option "BlankTime" "0" + Option "StandbyTime" "0" + Option "SuspendTime" "0" + Option "OffTime" "0" ''; }; };