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