diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-01 22:33:04 +0100 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-12-01 22:33:04 +0100 |
commit | 17ebe527d099b026bb7eac699248f05fb24cae4c (patch) | |
tree | ecb3adc625d89707bbd45ebbc79efec1cc7fe1d1 | |
parent | fd89b4bf3a54d6c79a14d0328afdf55f1d20bcd6 (diff) | |
download | nixos-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.nix | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 = { |