Add a few languages and nix-shell alias to run zsh

This commit is contained in:
zuma 2025-04-13 18:52:56 +02:00
parent 288090edbe
commit d44435832a
3 changed files with 8 additions and 2 deletions

View file

@ -43,6 +43,7 @@
svelte.enable = true; svelte.enable = true;
python.enable = true; python.enable = true;
tailwind.enable = true; tailwind.enable = true;
go.enable = true;
}; };
notes.obsidian = { notes.obsidian = {

View file

@ -2,19 +2,20 @@
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
enableAutosuggestions = true;
shellAliases = { shellAliases = {
update = "sudo nixos-rebuild switch --flake /home/zuma/nix_files#t0urn3s0l"; update = "sudo nixos-rebuild switch --flake /home/zuma/nix_files#t0urn3s0l";
connect-h4ppy = "mosh --ssh=\"ssh -p 72\" globuzma@87.231.223.91"; connect-h4ppy = "mosh --ssh=\"ssh -p 72\" globuzma@87.231.223.91";
cat = "bat"; cat = "bat";
ls = "eza --time-style=relative --git --octal-permissions --icons --binary -lg"; ls = "eza --time-style=relative --git --octal-permissions --icons --binary -lg";
calc = "eva"; calc = "eva";
nix-shell = "nix-shell --run zsh";
}; };
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ "git" ]; plugins = [ "git" ];
theme = "robbyrussell"; theme = "robbyrussell";
}; };
autosuggestion.enable = true;
}; };
programs.starship = { programs.starship = {

View file

@ -196,7 +196,6 @@
pywal16 # Generate 16 palette from image pywal16 # Generate 16 palette from image
wev # Utility to find which key you pressed wev # Utility to find which key you pressed
hugo # Static website engine to make my blog hugo # Static website engine to make my blog
php # For hosting Adminer
libnotify # Man I want that notify-send libnotify # Man I want that notify-send
ripgrep # Faster grep alternative ripgrep # Faster grep alternative
bat # cat but better bat # cat but better
@ -204,7 +203,12 @@
eva # calculator eva # calculator
util-linux # Set of system utilities util-linux # Set of system utilities
sshfs # A filesystem to mount drives over ssh sshfs # A filesystem to mount drives over ssh
# Languages
php # For hosting Adminer
python3 # For hacky scripts python3 # For hacky scripts
go # For backend
bun # A more efficient JS engine
# Utilities # Utilities
wl-clipboard # Clipboard manager wl-clipboard # Clipboard manager