mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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
Block a user