From b5f4ca49df372c3d26ce04b1554fb02a0107cc8d Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Sun, 12 May 2024 13:22:39 +0100 Subject: [PATCH] stylix: provide root access in testbeds (#362) This allows restarting services and accessing protected files during testing. --- stylix/testbed.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stylix/testbed.nix b/stylix/testbed.nix index d060e07c..325bf993 100644 --- a/stylix/testbed.nix +++ b/stylix/testbed.nix @@ -8,8 +8,11 @@ let description = "Guest"; hashedPassword = ""; isNormalUser = true; + extraGroups = [ "wheel" ]; }; + security.sudo.wheelNeedsPassword = false; + # The state version can safely track the latest release because the disk # image is ephermal. system.stateVersion = config.system.nixos.release;