refactor: organize shell settings
This commit is contained in:
parent
13cc00b3bb
commit
fad29f1c13
7 changed files with 15 additions and 7 deletions
|
@ -158,7 +158,7 @@
|
||||||
# Terminal
|
# Terminal
|
||||||
kitty
|
kitty
|
||||||
starship
|
starship
|
||||||
shells.common
|
shells.all
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
command-not-found.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
7
users/profiles/shells/all.nix
Normal file
7
users/profiles/shells/all.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
./bash.nix
|
||||||
|
./fish.nix
|
||||||
|
./zsh.nix
|
||||||
|
];
|
||||||
|
}
|
|
@ -1,4 +1,6 @@
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
|
imports = [ ./common.nix ];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bash = {
|
bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
imports = [
|
programs.command-not-found.enable = true;
|
||||||
./bash.nix
|
|
||||||
./fish.nix
|
|
||||||
./zsh.nix
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{ config, lib, pkgs, ... }: {
|
{ config, lib, pkgs, ... }: {
|
||||||
|
imports = [ ./common.nix ];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
fish = {
|
fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{ config, lib, pkgs, ... }: {
|
{ config, lib, pkgs, ... }: {
|
||||||
|
imports = [ ./common.nix ];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh = rec {
|
zsh = rec {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue