feat/nix #3
5 changed files with 27 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
home.stateVersion = "24.05";
|
||||
|
||||
imports = [
|
||||
../../shell
|
||||
../../editor
|
||||
../../de
|
||||
];
|
||||
|
|
|
@ -13,7 +13,7 @@ fi
|
|||
# Start in zellij by default
|
||||
export ZELLIJ_AUTO_EXIT=true
|
||||
export ZELLIJ_CONFIG_FILE=~/.config/zellij/config.kdl
|
||||
eval "$(zellij setup --generate-auto-start bash)"
|
||||
# eval "$(zellij setup --generate-auto-start bash)"
|
||||
|
||||
# fnm
|
||||
FNM_PATH="$HOME/.local/share/fnm"
|
||||
|
|
|
@ -23,7 +23,7 @@ fi
|
|||
bind '"\e[A":history-search-backward'
|
||||
bind '"\e[B":history-search-forward'
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$HOME/.nix-profile/bin:$PATH"
|
||||
|
||||
export EDITOR="hx"
|
||||
|
||||
|
|
18
shell/bash/default.nix
Normal file
18
shell/bash/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
} : {
|
||||
programs.bash.enable = true;
|
||||
|
||||
home.file = {
|
||||
".bashrc".source = ./.bashrc;
|
||||
".bash_aliases".source = ./.bash_aliases;
|
||||
".bash_exec".source = ./.bash_exec;
|
||||
".bash_profile".source = ./.bash_profile;
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.starship
|
||||
];
|
||||
}
|
||||
|
6
shell/default.nix
Normal file
6
shell/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./bash
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in a new issue