summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-01 22:33:04 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-01 22:33:04 +0100
commit17ebe527d099b026bb7eac699248f05fb24cae4c (patch)
treeecb3adc625d89707bbd45ebbc79efec1cc7fe1d1
parentfd89b4bf3a54d6c79a14d0328afdf55f1d20bcd6 (diff)
downloadnixos-17ebe527d099b026bb7eac699248f05fb24cae4c.tar
nixos-17ebe527d099b026bb7eac699248f05fb24cae4c.tar.gz
nixos-17ebe527d099b026bb7eac699248f05fb24cae4c.tar.bz2
nixos-17ebe527d099b026bb7eac699248f05fb24cae4c.tar.xz
nixos-17ebe527d099b026bb7eac699248f05fb24cae4c.zip
Allow sudo to mlmmj
-rw-r--r--ymir.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index 67455541..c83771d4 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -606,7 +606,13 @@ in rec {
606 group = "mlmmj"; 606 group = "mlmmj";
607 }; 607 };
608 608
609 users.extraGroups."mlmmj" = {}; 609 users.extraGroups."mlmmj" = {
610 members = [ "gkleen" ];
611 };
612
613 security.sudo.extraConfig = ''
614 %mlmmj ALL=(mlmmj) NOPASSWD: ALL
615 '';
610 616
611 security.acme = { 617 security.acme = {
612 certs = { 618 certs = {