Sudo in the alias doesn't work

This commit is contained in:
Andreas Zweili 2024-01-29 16:46:32 +01:00
parent 5d5d83e2fb
commit a8c70e25e9
1 changed files with 4 additions and 1 deletions

View File

@ -69,7 +69,10 @@
EDITOR = "vim"; EDITOR = "vim";
VISUAL = "vim"; VISUAL = "vim";
}; };
shellAliases = { btm = "sudo btm --color default-light"; }; shellAliases = {
btm = "btm --color default-light";
sudo = "sudo ";
};
systemPackages = [ pkgs.bottom pkgs.man-pages pkgs.vim ]; systemPackages = [ pkgs.bottom pkgs.man-pages pkgs.vim ];
}; };
# Disable the root user # Disable the root user