Merge pull request #87581 from cole-h/doas
nixos/doas: default rule should be first
This commit is contained in:
commit
30236aceaf
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue