This commit is contained in:
SebastianStork 2024-03-18 16:06:42 +01:00
parent a3f4c3d6a6
commit bc344d4b5a

View file

@ -1,5 +1,6 @@
{
config,
pkgs,
lib,
...
}: {
@ -8,6 +9,8 @@
config = lib.mkIf config.myConfig.doas.enable {
security.sudo.enable = false;
environment.systemPackages = [pkgs.git];
security.doas = {
enable = true;
extraRules = [
@ -20,6 +23,6 @@
};
environment.shellAliases.sudo = "doas";
programs.bash.interactiveShellInit = lib.mkIf config.myConfig.shell.bash.enable "complete -F _command doas";
programs.bash.interactiveShellInit = "complete -F _command doas";
};
}