42 lines
1.0 KiB
Nix
42 lines
1.0 KiB
Nix
{
|
|
programs = {
|
|
nushell = {
|
|
enable = true;
|
|
environmentVariables = {
|
|
config = ''{
|
|
show_banner: false,
|
|
completions: {
|
|
quick: true
|
|
partial: true
|
|
algorithm: "fuzzy"
|
|
}
|
|
}
|
|
'';
|
|
PASSWORD_STORE_DIR = "([$env.HOME, '.password-store'] | str join '/')";
|
|
PATH = "($env.PATH | split row (char esep) | append ([$env.HOME, '.local', 'bin'] | str join '/'))";
|
|
EDITOR = "nvim";
|
|
};
|
|
shellAliases = {
|
|
gcal = ''
|
|
bash -c "cal $(date +%Y)"
|
|
'';
|
|
la = "ls -al";
|
|
ssh = "TERM=xterm-256color ssh";
|
|
dev = "nix develop --command $env.SHELL";
|
|
torrent = "transmission-remote";
|
|
vi = "nvim";
|
|
sc = "systemctl";
|
|
};
|
|
loginFile.text = ''
|
|
if (tty) == "/dev/tty1" {
|
|
sway
|
|
}
|
|
'';
|
|
};
|
|
starship = {
|
|
enable = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
};
|
|
}
|