nixos-config/home/bash.nix
2025-08-09 12:02:06 -06:00

19 lines
428 B
Nix
Executable File

{
programs.bash = {
enable = true;
shellAliases =
let
flakePath = "~/nixos-config";
in
{
la = "ls -lath";
lr = "ls -ltr";
rebuild = "sudo nixos-rebuild switch --flake ${flakePath}";
hms = "home-manager switch --flake ${flakePath}";
vi = "vim";
#config = "nvim ~/nix/configuration.nix";
#homecfg = "nvim ~/nix/home.nix";
};
};
}