From 17ebe527d099b026bb7eac699248f05fb24cae4c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 1 Dec 2016 22:33:04 +0100 Subject: Allow sudo to mlmmj --- ymir.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ymir.nix b/ymir.nix index 67455541..c83771d4 100644 --- a/ymir.nix +++ b/ymir.nix @@ -606,7 +606,13 @@ in rec { group = "mlmmj"; }; - users.extraGroups."mlmmj" = {}; + users.extraGroups."mlmmj" = { + members = [ "gkleen" ]; + }; + + security.sudo.extraConfig = '' + %mlmmj ALL=(mlmmj) NOPASSWD: ALL + ''; security.acme = { certs = { -- cgit v1.2.3