1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-04-21 17:49:50 +02:00
parent d975f43b3e
commit cd78d9d00f
13 changed files with 18 additions and 145 deletions

View file

@ -1,13 +0,0 @@
{
lib,
pkgs,
...
}: let
package = pkgs.atuin;
in {
environment.systemPackages = [package];
programs.bash.interactiveShellInit = ''
eval "$(${lib.getExe package} init bash)"
'';
}

View file

@ -1,18 +1,5 @@
{
programs = {
command-not-found.enable = false;
bash = {
blesh.enable = true;
interactiveShellInit = ''
shopt -s globstar
shopt -s nullglob
shopt -s extglob
shopt -s checkwinsize
bind 'set show-mode-in-prompt off'
'';
};
};
programs.bash. interactiveShellInit = ''
shopt -s autocd globstar failglob extglob checkwinsize
'';
}

3
common/cnf.nix Normal file
View file

@ -0,0 +1,3 @@
{
programs.command-not-found.enable = false;
}

View file

@ -1,8 +1,8 @@
{
imports = [
./atuin.nix
./avahi.nix
./bash.nix
./cnf.nix
./fish.nix
./boot.nix
./bottom.nix
./dbus.nix

View file

@ -1,11 +1,3 @@
{
config,
lib,
...
}: {
programs.direnv.enable = true;
programs.bash.interactiveShellInit = ''
eval "$(${lib.getExe config.programs.direnv.package} hook bash)"
'';
}

5
common/fish.nix Normal file
View file

@ -0,0 +1,5 @@
{pkgs, ...}: {
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;
}