65 lines
1.4 KiB
Nix
65 lines
1.4 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./git/default.nix
|
|
./ssh/default.nix
|
|
./nushell/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;
|
|
bat = {
|
|
enable = true;
|
|
config.theme = lib.mkIf config.stylix.targets.bat.enable "base16-stylix";
|
|
};
|
|
carapace = {
|
|
enable = true;
|
|
enableBashIntegration = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
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;
|
|
enableBashIntegration = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
fzf = {
|
|
enable = true;
|
|
enableBashIntegration = 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";
|
|
};
|
|
};
|
|
}
|