feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
5 changed files with 27 additions and 2 deletions
Showing only changes of commit 0a11783ba3 - Show all commits

View file

@ -4,6 +4,7 @@
home.stateVersion = "24.05";
imports = [
../../shell
../../editor
../../de
];

View file

@ -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"

View file

@ -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
View 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
View file

@ -0,0 +1,6 @@
{
imports = [
./bash
];
}