Merge pull request #87581 from cole-h/doas

nixos/doas: default rule should be first
This commit is contained in:
adisbladis 2020-05-12 18:38:51 +02:00 committed by GitHub
commit 30236aceaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
security.doas.extraRules = [ security.doas.extraRules = mkOrder 600 [
{ {
groups = [ "wheel" ]; groups = [ "wheel" ];
noPass = !cfg.wheelNeedsPassword; noPass = !cfg.wheelNeedsPassword;