2024-02-09 07:17:31 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-02-04 07:14:04 +00:00
|
|
|
imports = [
|
|
|
|
./git/default.nix
|
|
|
|
./ssh/default.nix
|
|
|
|
./nushell/default.nix
|
2024-02-11 06:54:07 +00:00
|
|
|
./zsh/default.nix
|
2024-02-04 07:14:04 +00:00
|
|
|
./starship/default.nix
|
|
|
|
./bottom/default.nix
|
|
|
|
./config/default.nix
|
|
|
|
./scripts/default.nix
|
|
|
|
];
|
2024-02-03 09:51:42 +00:00
|
|
|
stylix.targets = {
|
2024-02-09 07:17:31 +00:00
|
|
|
bat.enable = true;
|
2024-02-03 09:51:42 +00:00
|
|
|
fzf.enable = true;
|
|
|
|
zellij.enable = true;
|
|
|
|
};
|
2024-02-04 07:14:04 +00:00
|
|
|
programs = {
|
2023-09-20 09:00:22 +01:00
|
|
|
bash.enable = true;
|
2024-02-11 06:54:07 +00:00
|
|
|
carapace.enable = true;
|
2023-12-18 08:15:18 +00:00
|
|
|
bat = {
|
|
|
|
enable = true;
|
2024-02-09 07:17:31 +00:00
|
|
|
config.theme = lib.mkIf config.stylix.targets.bat.enable "base16-stylix";
|
2023-12-18 08:15:18 +00:00
|
|
|
};
|
2023-11-29 07:17:41 +00:00
|
|
|
eza = {
|
|
|
|
enable = true;
|
|
|
|
git = true;
|
|
|
|
icons = true;
|
2024-03-06 13:14:35 +00:00
|
|
|
enableAliases = true;
|
2024-01-30 14:21:50 +00:00
|
|
|
extraOptions = ["--octal-permissions"];
|
2023-11-29 07:17:41 +00:00
|
|
|
};
|
2023-09-20 09:00:22 +01:00
|
|
|
readline = {
|
|
|
|
enable = true;
|
|
|
|
includeSystemConfig = true;
|
|
|
|
extraConfig = ''
|
|
|
|
set completion-ignore-case On
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
2023-10-09 11:40:25 +01:00
|
|
|
fzf = {
|
|
|
|
enable = true;
|
2024-01-31 08:31:25 +00:00
|
|
|
defaultCommand = "${pkgs.fd}/bin/fd --type f";
|
|
|
|
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
|
|
|
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
|
2023-10-09 11:40:25 +01:00
|
|
|
};
|
2024-02-03 09:51:42 +00:00
|
|
|
zellij = {
|
|
|
|
enable = true;
|
|
|
|
settings.default_layout = "compact";
|
|
|
|
};
|
2023-09-20 09:00:22 +01:00
|
|
|
};
|
2023-09-15 07:13:52 +01:00
|
|
|
}
|