mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
18 lines
454 B
Nix
18 lines
454 B
Nix
{config, ...}: {
|
|
programs.nushell = {
|
|
enable = true;
|
|
|
|
shellAliases =
|
|
config.home.shellAliases;
|
|
|
|
extraConfig = ''
|
|
$env.PATH = ($env.PATH | split row (char esep) | append "~/.nix-profile/bin")
|
|
$env.PATH = ($env.PATH | split row (char esep) | append "/nix/var/nix/profiles/default/bin")
|
|
|
|
$env.config.show_banner = false
|
|
|
|
def gac [] { git add .; git commit }
|
|
def gacp [] { gac; git push }
|
|
'';
|
|
};
|
|
}
|