summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-01 22:33:36 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-01 22:33:36 +0100
commit2317f081606394f2230bc8c29c5306ee320256da (patch)
tree242c20e515fb912ee2298936ff9066c6175516f4
parent17ebe527d099b026bb7eac699248f05fb24cae4c (diff)
downloadnixos-2317f081606394f2230bc8c29c5306ee320256da.tar
nixos-2317f081606394f2230bc8c29c5306ee320256da.tar.gz
nixos-2317f081606394f2230bc8c29c5306ee320256da.tar.bz2
nixos-2317f081606394f2230bc8c29c5306ee320256da.tar.xz
nixos-2317f081606394f2230bc8c29c5306ee320256da.zip
Introduce more explicit group for mlmmj
-rw-r--r--ymir.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index c83771d4..e46971f2 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -606,12 +606,14 @@ in rec {
606 group = "mlmmj"; 606 group = "mlmmj";
607 }; 607 };
608 608
609 users.extraGroups."mlmmj" = { 609 users.extraGroups."mlmmj" = {};
610
611 users.extraGroups."mladmin" = {
610 members = [ "gkleen" ]; 612 members = [ "gkleen" ];
611 }; 613 };
612 614
613 security.sudo.extraConfig = '' 615 security.sudo.extraConfig = ''
614 %mlmmj ALL=(mlmmj) NOPASSWD: ALL 616 %mladmin ALL=(mlmmj) NOPASSWD: ALL
615 ''; 617 '';
616 618
617 security.acme = { 619 security.acme = {