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
+8 -1
View File
@@ -6,6 +6,13 @@
# VPN
vpnEnable = true;
# Unfree Softwares
# Unfree Softwares
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.fish = {
enable = true;
@@ -8,12 +8,8 @@
zoxide init fish | source
'';
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 &";
};
shellAliases = shellAliases;
plugins = with pkgs.fishPlugins; [
];
};
+2 -7
View File
@@ -1,4 +1,4 @@
{pkgs, ...}: {
{pkgs, shellAliases,...}: {
home.packages = with pkgs; [
zoxide
oh-my-posh
@@ -28,12 +28,7 @@
];
enableCompletion = true;
syntaxHighlighting.enable = 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 &";
};
shellAliases = shellAliases;
history.size = 10000;
oh-my-zsh = {
plugins = [];