diff --git a/nix/profiles/culisg.nix b/nix/profiles/culisg.nix index eed8d9d..81f659f 100644 --- a/nix/profiles/culisg.nix +++ b/nix/profiles/culisg.nix @@ -4,6 +4,7 @@ home.stateVersion = "24.05"; imports = [ + ../../shell ../../editor ../../de ]; diff --git a/shell/bash/.bash_exec b/shell/bash/.bash_exec index dae12e3..af4d26a 100644 --- a/shell/bash/.bash_exec +++ b/shell/bash/.bash_exec @@ -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" diff --git a/shell/bash/.bashrc b/shell/bash/.bashrc index 54efb06..30ace4f 100755 --- a/shell/bash/.bashrc +++ b/shell/bash/.bashrc @@ -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" diff --git a/shell/bash/default.nix b/shell/bash/default.nix new file mode 100644 index 0000000..4820460 --- /dev/null +++ b/shell/bash/default.nix @@ -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 + ]; +} + diff --git a/shell/default.nix b/shell/default.nix new file mode 100644 index 0000000..3a67f04 --- /dev/null +++ b/shell/default.nix @@ -0,0 +1,6 @@ +{ + imports = [ + ./bash + ]; +} +