diff --git a/modules/nixos/system/doas.nix b/modules/nixos/system/doas.nix index ff61572..e976cad 100644 --- a/modules/nixos/system/doas.nix +++ b/modules/nixos/system/doas.nix @@ -26,9 +26,14 @@ }; }; - # Alias sudo to doas for convenience - home-manager.users.${config.user}.programs.fish.shellAliases = { - sudo = "doas"; + home-manager.users.${config.user}.programs = { + + # Alias sudo to doas for convenience + fish.shellAliases = { sudo = "doas"; }; + + # Disable overriding our sudo alias with a TERMINFO alias + kitty.settings.shell_integration = "no-sudo"; + }; };