refactor: organize shell settings

This commit is contained in:
Infinidoge 2021-10-01 10:50:20 -04:00
parent 13cc00b3bb
commit fad29f1c13
7 changed files with 15 additions and 7 deletions

View file

@ -158,7 +158,7 @@
# Terminal # Terminal
kitty kitty
starship starship
shells.common shells.all
]; ];
}; };
}; };

View file

@ -17,7 +17,6 @@
firefox = { firefox = {
enable = true; enable = true;
}; };
command-not-found.enable = true;
}; };
home = { home = {

View file

@ -0,0 +1,7 @@
{ ... }: {
imports = [
./bash.nix
./fish.nix
./zsh.nix
];
}

View file

@ -1,4 +1,6 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
imports = [ ./common.nix ];
programs = { programs = {
bash = { bash = {
enable = true; enable = true;

View file

@ -1,7 +1,3 @@
{ ... }: { { ... }: {
imports = [ programs.command-not-found.enable = true;
./bash.nix
./fish.nix
./zsh.nix
];
} }

View file

@ -1,4 +1,6 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
imports = [ ./common.nix ];
programs = { programs = {
fish = { fish = {
enable = true; enable = true;

View file

@ -1,4 +1,6 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
imports = [ ./common.nix ];
programs = { programs = {
zsh = rec { zsh = rec {
enable = true; enable = true;