75 lines
1.8 KiB
Nix
75 lines
1.8 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./git.nix
|
|
./ssh.nix
|
|
./starship.nix
|
|
./bottom.nix
|
|
./cava.nix
|
|
];
|
|
home.shellAliases = {
|
|
sync-all = "sync-git; vdirsyncer sync; mbsync -a";
|
|
sync-and-shutdown = "sync-all && shutdown now";
|
|
protonup = "sudo wg-quick up protonvpn && sudo wg";
|
|
protondown = "sudo wg-quick down protonvpn";
|
|
};
|
|
programs = {
|
|
# Shells
|
|
bash.enable = true;
|
|
nushell.enable = true;
|
|
# CLI programs and utilities
|
|
carapace.enable = true;
|
|
fd.enable = true;
|
|
jq.enable = true;
|
|
ripgrep.enable = true;
|
|
bat = {
|
|
enable = true;
|
|
config.style = "plain,numbers,changes";
|
|
};
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
eza = {
|
|
enable = true;
|
|
git = true;
|
|
icons = "auto";
|
|
extraOptions = [ "--octal-permissions" ];
|
|
};
|
|
fzf = {
|
|
enable = true;
|
|
defaultCommand = "${pkgs.fd}/bin/fd --type f";
|
|
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
|
|
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
|
|
};
|
|
hyfetch = {
|
|
enable = true;
|
|
settings = {
|
|
preset = "rainbow";
|
|
mode = "rgb";
|
|
light_dark = config.lib.stylix.scheme.variant;
|
|
lightness = 0.4;
|
|
color_align = {
|
|
mode = "horizontal";
|
|
};
|
|
};
|
|
};
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|