diff --git a/nixos-anywhere/modules/system/default.nix b/nixos-anywhere/modules/system/default.nix index 51361b0..ac18b05 100644 --- a/nixos-anywhere/modules/system/default.nix +++ b/nixos-anywhere/modules/system/default.nix @@ -3,6 +3,7 @@ ./cloud-init.nix ./do-agent.nix ./fish.nix + ./sudo.nix ./tmux.nix ]; } diff --git a/nixos-anywhere/modules/system/sudo.nix b/nixos-anywhere/modules/system/sudo.nix new file mode 100644 index 0000000..2f47e13 --- /dev/null +++ b/nixos-anywhere/modules/system/sudo.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, configFiles, ... }: + +with lib; + +{ + security.sudo.wheelNeedsPassword = false; +}