19 lines
428 B
Nix
Executable File
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";
|
|
};
|
|
};
|
|
}
|