nixos/home/default.nix

59 lines
1.2 KiB
Nix
Raw Normal View History

2024-02-09 07:17:31 +00:00
{
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
];
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;
};
programs = {
bash.enable = true;
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
};
eza = {
enable = true;
git = true;
icons = true;
enableAliases = false;
2024-01-30 14:21:50 +00:00
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";
};
2024-02-03 09:51:42 +00:00
zellij = {
enable = true;
settings.default_layout = "compact";
};
};
}