summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2023-11-10 03:32:26 +0100
committerYureka <yuka@yuka.dev>2023-11-10 03:32:26 +0100
commit6d475b6d95d1b4bd402b97a0087b1734ea65781f (patch)
tree4a46d76e7a09e26c45b24882e4cd709a5957ee50 /nixos/tests
parentb0206f9bf9c61bad5050ae22702c3ceed9f781d0 (diff)
downloadnixpkgs-6d475b6d95d1b4bd402b97a0087b1734ea65781f.tar
nixpkgs-6d475b6d95d1b4bd402b97a0087b1734ea65781f.tar.gz
nixpkgs-6d475b6d95d1b4bd402b97a0087b1734ea65781f.tar.bz2
nixpkgs-6d475b6d95d1b4bd402b97a0087b1734ea65781f.tar.lz
nixpkgs-6d475b6d95d1b4bd402b97a0087b1734ea65781f.tar.xz
nixpkgs-6d475b6d95d1b4bd402b97a0087b1734ea65781f.tar.zst
nixpkgs-6d475b6d95d1b4bd402b97a0087b1734ea65781f.zip
nixos/tests/sudo: check that sudo is enabled by default
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/sudo.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/sudo.nix b/nixos/tests/sudo.nix
index 1b177391488..1fe478f0bff 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 = ''