diff --git a/modules/presets/secure-node.nix b/modules/presets/secure-node.nix index 506d058..90ffd43 100644 --- a/modules/presets/secure-node.nix +++ b/modules/presets/secure-node.nix @@ -25,6 +25,7 @@ in { # Use doas instead of sudo security.doas.enable = true; security.sudo.enable = false; + environment.shellAliases.sudo = "doas"; environment.systemPackages = with pkgs; [ jq