Keep zsh as defaultUserShell (so same for root user), ensure emacs also uses zsh instead of nu for POSIX compliance Switch nu tables back to rounded configuration
59 lines
1.2 KiB
Nix
59 lines
1.2 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./git/default.nix
|
|
./ssh/default.nix
|
|
./nushell/default.nix
|
|
./zsh/default.nix
|
|
./starship/default.nix
|
|
./bottom/default.nix
|
|
./config/default.nix
|
|
./scripts/default.nix
|
|
];
|
|
stylix.targets = {
|
|
bat.enable = true;
|
|
fzf.enable = true;
|
|
zellij.enable = true;
|
|
};
|
|
programs = {
|
|
bash.enable = true;
|
|
carapace.enable = true;
|
|
bat = {
|
|
enable = true;
|
|
config.theme = lib.mkIf config.stylix.targets.bat.enable "base16-stylix";
|
|
};
|
|
eza = {
|
|
enable = true;
|
|
git = true;
|
|
icons = true;
|
|
enableAliases = false;
|
|
extraOptions = ["--octal-permissions"];
|
|
};
|
|
readline = {
|
|
enable = true;
|
|
includeSystemConfig = true;
|
|
extraConfig = ''
|
|
set completion-ignore-case On
|
|
'';
|
|
};
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
fzf = {
|
|
enable = true;
|
|
defaultCommand = "${pkgs.fd}/bin/fd --type f";
|
|
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
|
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
|
|
};
|
|
zellij = {
|
|
enable = true;
|
|
settings.default_layout = "compact";
|
|
};
|
|
};
|
|
}
|