2024-12-19 07:16:12 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-07-30 15:06:34 +01:00
|
|
|
{
|
2024-07-03 07:15:39 +01:00
|
|
|
imports = [
|
|
|
|
./git.nix
|
|
|
|
./ssh.nix
|
|
|
|
./starship.nix
|
|
|
|
];
|
2024-10-22 11:36:21 +01:00
|
|
|
home.shellAliases = {
|
2024-12-24 08:24:31 +00:00
|
|
|
sync-all = "sync-git; vdirsyncer sync; mbsync -a";
|
2024-12-02 17:43:29 +00:00
|
|
|
sync-and-shutdown = "sync-all && shutdown now";
|
2024-10-22 11:36:21 +01:00
|
|
|
protonup = "sudo wg-quick up protonvpn && sudo wg";
|
|
|
|
protondown = "sudo wg-quick down protonvpn";
|
2024-09-22 11:47:34 +01:00
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
programs = {
|
2024-11-18 14:11:09 +00:00
|
|
|
# Shells
|
2024-09-01 12:58:42 +01:00
|
|
|
bash.enable = true;
|
2024-11-18 14:11:09 +00:00
|
|
|
nushell.enable = true;
|
|
|
|
# CLI programs and utilities
|
2024-12-20 15:23:50 +00:00
|
|
|
btop.enable = true;
|
2024-09-21 05:46:36 +01:00
|
|
|
carapace.enable = true;
|
2024-07-03 07:15:39 +01:00
|
|
|
fd.enable = true;
|
|
|
|
jq.enable = true;
|
|
|
|
ripgrep.enable = true;
|
2024-09-19 08:05:48 +01:00
|
|
|
bat = {
|
|
|
|
enable = true;
|
|
|
|
config.style = "plain,numbers,changes";
|
|
|
|
};
|
2024-12-20 15:23:50 +00:00
|
|
|
cava = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
color = with config.lib.stylix.colors.withHashtag; {
|
|
|
|
gradient = 1;
|
|
|
|
gradient_count = 6;
|
|
|
|
gradient_color_1 = "'${red}'";
|
|
|
|
gradient_color_2 = "'${yellow}'";
|
|
|
|
gradient_color_3 = "'${green}'";
|
|
|
|
gradient_color_4 = "'${cyan}'";
|
|
|
|
gradient_color_5 = "'${blue}'";
|
|
|
|
gradient_color_6 = "'${magenta}'";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-09-19 08:05:48 +01:00
|
|
|
direnv = {
|
|
|
|
enable = true;
|
|
|
|
nix-direnv.enable = true;
|
|
|
|
};
|
|
|
|
eza = {
|
|
|
|
enable = true;
|
|
|
|
git = true;
|
2024-12-07 07:17:46 +00:00
|
|
|
icons = "auto";
|
2024-12-16 11:18:19 +00:00
|
|
|
extraOptions = [
|
|
|
|
"--header"
|
|
|
|
"--time-style=iso"
|
|
|
|
];
|
2024-09-19 08:05:48 +01:00
|
|
|
};
|
|
|
|
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-12-19 07:16:12 +00:00
|
|
|
colors = {
|
|
|
|
bg = lib.mkForce "-1";
|
|
|
|
"bg+" = lib.mkForce "-1";
|
|
|
|
};
|
2024-09-19 08:05:48 +01:00
|
|
|
};
|
2024-11-03 11:25:21 +00:00
|
|
|
hyfetch = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2024-12-21 06:44:55 +00:00
|
|
|
preset = "transgender";
|
2024-11-03 11:25:21 +00:00
|
|
|
mode = "rgb";
|
2024-12-04 06:41:16 +00:00
|
|
|
light_dark = config.lib.stylix.scheme.variant;
|
2024-11-03 11:25:21 +00:00
|
|
|
lightness = 0.4;
|
|
|
|
color_align = {
|
|
|
|
mode = "horizontal";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-09-19 08:05:48 +01:00
|
|
|
readline = {
|
|
|
|
enable = true;
|
|
|
|
variables = {
|
|
|
|
bell-style = "visible";
|
|
|
|
blink-matching-paren = "On";
|
|
|
|
colored-completion-prefix = "On";
|
|
|
|
colored-stats = "On";
|
|
|
|
completion-ignore-case = "On";
|
|
|
|
completion-map-case = "On";
|
|
|
|
editing-mode = "emacs";
|
|
|
|
expand-tilde = "On";
|
|
|
|
mark-directories = "On";
|
|
|
|
mark-symlinked-directories = "On";
|
|
|
|
visible-stats = "On";
|
|
|
|
};
|
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
}
|