Created
May 10, 2025 17:18
-
-
Save luisadha/c6f47d936e8e646fea9144f3d378bb42 to your computer and use it in GitHub Desktop.
cat ~/.config/nix-on-droid/home-manager/default.nix #cdd #aliases #abbrs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib, ... }: | |
{ | |
imports = [ | |
./fish.nix | |
# ./starship.nix | |
./git.nix | |
./lazygit.nix | |
./fzf.nix | |
./vim.nix | |
./tmux ]; # Import any config | |
home.sessionPath = [ | |
# Custom path | |
"~/.local/bin" | |
"/system/bin" | |
# dan seterusnya | |
]; | |
home.stateVersion = "24.05"; | |
programs.fish.shellAbbrs = { | |
# Fish shell Abbrs Activated | |
ddd = "nvim ~/.config/nix-on-droid/home-manager/default.nix"; | |
cdd = "cat ~/.config/nix-on-droid/home-manager/default.nix"; | |
nnn = "nvim ~/.config/nix-on-droid/nix-on-droid.nix"; | |
cnn = "cat ~/.config/nix-on-droid/nix-on-droid.nix"; | |
nb = "nix-build"; | |
nsp = "nix-shell -p ./result"; | |
niee = "nix-env -e"; | |
nieir = "nix-env -i ./result"; | |
nieia = "nix-env -iA"; | |
nsfcn = "nix-on-droid switch --flake ~/.config/nix-on-droid"; | |
}; | |
programs.fish.shellAliases = { | |
# Fish shell Aliases (Favorite) | |
File = "am start --user 0 -n com.google.android.documentsui/com.android.documentsui.files.FilesActivity"; | |
ls = "ls -N --color=auto"; | |
la = "ls -a --color"; | |
putar ="xdg-open --content-type audio/mp3 $1"; | |
}; | |
programs.bash.shellAliases = { | |
# Bash shell Aliases | |
ll = "ls -l --color=always"; | |
nnn = "nvim ~/.config/nix-on-droid/nix-on-droid.nix"; | |
}; | |
home.shellAliases = { | |
# Detected shell Aliases | |
nnn = "nvim ~/.config/nix-on-droid/nix-on-droid.nix"; | |
nb = "nix-build"; | |
nsp = "nix-shell -p ./result"; | |
niee = "nix-env -e"; | |
nieir = "nix-env -i ./result"; | |
nieia = "nix-env -iA"; | |
nsfcn = "nix-on-droid switch --flake ~/.config/nix-o | |
n-droid"; | |
}; | |
programs = { | |
home-manager.enable = true; | |
bat.enable = true; # cat alternative | |
bat.config = { | |
pager = "less -FR"; | |
}; | |
# ls alternative | |
eza.enable = true; | |
eza.icons = true; # display icons | |
eza.git = true; # git integration | |
jq.enable = true; # jq enable | |
zoxide.enable = true; # cd alternative | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment