diff options
author | Yureka <yuka@yuka.dev> | 2023-11-10 03:32:26 +0100 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-11-10 03:32:26 +0100 |
commit | 6d475b6d95d1b4bd402b97a0087b1734ea65781f (patch) | |
tree | 4a46d76e7a09e26c45b24882e4cd709a5957ee50 /nixos/tests/sudo.nix | |
parent | b0206f9bf9c61bad5050ae22702c3ceed9f781d0 (diff) |
nixos/tests/sudo: check that sudo is enabled by default
Diffstat (limited to 'nixos/tests/sudo.nix')
-rw-r--r-- | nixos/tests/sudo.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/sudo.nix b/nixos/tests/sudo.nix index 1b177391488d8..1fe478f0bff14 100644 --- a/nixos/tests/sudo.nix +++ b/nixos/tests/sudo.nix @@ -21,7 +21,8 @@ in }; security.sudo = { - enable = true; + # Explicitly _not_ defining 'enable = true;' here, to check that sudo is enabled by default + wheelNeedsPassword = false; extraConfig = '' |