diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-05-01 13:03:52 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-05-01 13:03:52 -0400 |
| commit | c2ee657d5390137764fba5ea015fee4ec8989aef (patch) | |
| tree | 9e43ddbf1c087127fea66a290553fa0227f1a6a0 /configuration.nix | |
| parent | fix scrolling title script (diff) | |
| download | nixos-c2ee657d5390137764fba5ea015fee4ec8989aef.tar.gz nixos-c2ee657d5390137764fba5ea015fee4ec8989aef.tar.bz2 nixos-c2ee657d5390137764fba5ea015fee4ec8989aef.zip | |
make shell config file
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 48 |
1 files changed, 1 insertions, 47 deletions
diff --git a/configuration.nix b/configuration.nix index 523a32a..7660ce3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -12,6 +12,7 @@ ./hjem.nix ./audio.nix ./vim.nix + ./sh.nix ]; # Bootloader. @@ -43,18 +44,7 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - (lib.lowPrio pkgs.vim-full) # Lower Vim's priority - (pkgs.writeShellApplication { - name = "vi"; - runtimeInputs = [ pkgs.nvi ]; - text = '' - exec ${pkgs.nvi}/bin/vi "$@" - ''; - }) - - neovim wget - git nixfmt st dmenu @@ -72,7 +62,6 @@ surf terminus_font terminus_font_ttf - ]; programs.git = { @@ -90,41 +79,6 @@ }; }; - programs.bash = { - enable = true; - interactiveShellInit = '' - shopt -s autocd - shopt -s cdable_vars - shopt -s cdspell - shopt -s dirspell - shopt -s checkjobs - shopt -s cmdhist - shopt -s histappend - shopt -s globstar - shopt -s extglob - ''; - promptInit = '' - PS1="\[\e[97m\][\[\e[m\]\[\e[92m\]\u\[\e[m\]\[\e[32m\]@\[\e[m\]\[\e[92m\]\h\[\e[m\]:\[\e[92m\]\w\[\e[m\]\[\e[97m\]]\[\e[m\]\[\e[97m\]\\$\[\e[m\] " - ''; - }; - - environment.etc."inputrc".text = '' - set editing-mode vi - set show-mode-in-prompt on - set keyseq-timeout 10 - - set vi-ins-mode-string "\1\e[5 q\2" - set vi-cmd-mode-string "\1\e[2 q\2" - - - set colored-stats on - set colored-completion-prefix on - set blink-matching-paren on - - set completion-ignore-case on - set show-all-if-ambiguous on - set completion-map-case on - ''; |
