From fef5a185870a4eda72c6ffed6bf0a1f10ef0d060 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Apr 2013 12:54:40 +0200 Subject: [PATCH] Enable sudoedit --- modules/security/sudo.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/security/sudo.nix b/modules/security/sudo.nix index d2db9ee993f5..cd548f4a4fe0 100644 --- a/modules/security/sudo.nix +++ b/modules/security/sudo.nix @@ -31,7 +31,7 @@ in '' Whether users of the wheel group can execute commands as super user without entering a password. - ''; + ''; }; security.sudo.configFile = mkOption { @@ -70,7 +70,7 @@ in %wheel ALL=(ALL) ${if cfg.wheelNeedsPassword then "" else "NOPASSWD: ALL, "}SETENV: ALL ''; - security.setuidPrograms = [ "sudo" ]; + security.setuidPrograms = [ "sudo" "sudoedit" ]; environment.systemPackages = [ sudo ];