mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-10 19:18:17 +01:00
26 lines
831 B
Nix
26 lines
831 B
Nix
{profile, ...}: {
|
|
programs.bash = {
|
|
enable = false;
|
|
enableCompletion = true;
|
|
initExtra = ''
|
|
fastfetch
|
|
if [ -f $HOME/.bashrc-personal ]; then
|
|
source $HOME/.bashrc-personal
|
|
fi
|
|
'';
|
|
shellAliases = {
|
|
sv = "sudo nvim";
|
|
fr = "nh os switch --hostname ${profile}";
|
|
fu = "nh os switch --hostname ${profile} --update";
|
|
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)";
|
|
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
|
v = "nvim";
|
|
cat = "bat";
|
|
ls = "eza --icons";
|
|
ll = "eza -lh --icons --grid --group-directories-first";
|
|
la = "eza -lah --icons --grid --group-directories-first";
|
|
".." = "cd ..";
|
|
};
|
|
};
|
|
}
|