organized shellAliases

This commit is contained in:
biscuit
2025-05-21 10:56:53 -05:00
parent 6ae2221007
commit 9186f2cc28
3 changed files with 13 additions and 15 deletions
+7
View File
@@ -8,4 +8,11 @@
# Unfree Softwares # Unfree Softwares
allowUnfree = true; allowUnfree = true;
shellAliases = {
ll = "ls -l";
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#biscuit";
hupd = "home-manager switch --flake ~/Nixos/#biscuit";
agu = "pkill gjs & ags run ~/Nixos/pkgs/ags/biscuit/app.ts &";
};
} }
+3 -7
View File
@@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, shellAliases, ...}: {
programs.zoxide.enable = true; programs.zoxide.enable = true;
programs.fish = { programs.fish = {
enable = true; enable = true;
@@ -8,12 +8,8 @@
zoxide init fish | source zoxide init fish | source
''; '';
shellAliases = { shellAliases = shellAliases;
ll = "ls -l";
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#biscuit";
hupd = "home-manager switch --flake ~/Nixos/#biscuit";
agu = "pkill gjs & ags run ~/Nixos/pkgs/ags/biscuit/app.ts &";
};
plugins = with pkgs.fishPlugins; [ plugins = with pkgs.fishPlugins; [
]; ];
}; };
+2 -7
View File
@@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, shellAliases,...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
zoxide zoxide
oh-my-posh oh-my-posh
@@ -28,12 +28,7 @@
]; ];
enableCompletion = true; enableCompletion = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
shellAliases = { shellAliases = shellAliases;
ll = "ls -l";
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#biscuit";
hupd = "home-manager switch --flake ~/Nixos/#biscuit";
agu = "pkill gjs & ags run ~/Nixos/pkgs/ags/biscuit/app.ts &";
};
history.size = 10000; history.size = 10000;
oh-my-zsh = { oh-my-zsh = {
plugins = []; plugins = [];