2023-08-13 04:15:32 +02:00
|
|
|
{ pkgs, inputs, ... }: {
|
2023-02-15 11:28:43 +01:00
|
|
|
imports = [
|
2023-09-28 02:13:35 +02:00
|
|
|
./eza.nix
|
2023-02-15 11:28:43 +01:00
|
|
|
./bat.nix
|
|
|
|
./ssh.nix
|
2023-07-18 22:59:52 +02:00
|
|
|
./gpg.nix
|
2023-02-15 11:28:43 +01:00
|
|
|
./git.nix
|
|
|
|
./starship.nix
|
|
|
|
./direnv.nix
|
2023-11-04 19:38:35 +01:00
|
|
|
./tealdeer.nix
|
2023-02-15 11:28:43 +01:00
|
|
|
./fish
|
|
|
|
];
|
2023-01-10 02:38:06 +01:00
|
|
|
|
|
|
|
# Enable bash
|
|
|
|
programs.bash.enable = true;
|
|
|
|
|
|
|
|
# Install clis
|
|
|
|
home.packages = with pkgs; [
|
2023-12-02 00:46:56 +01:00
|
|
|
# {{{ System information
|
|
|
|
acpi # Battery stats
|
|
|
|
neofetch # Display system information
|
|
|
|
tokei # Useless but fun line of code counter (sloc alternative)
|
|
|
|
bottom # System monitor
|
|
|
|
# }}}
|
|
|
|
# {{{ Storage
|
2023-01-10 02:38:06 +01:00
|
|
|
ncdu # TUI disk usage
|
2023-04-27 15:36:14 +02:00
|
|
|
du-dust # Similar to du and ncdu in purpose.
|
2023-12-02 00:46:56 +01:00
|
|
|
# }}}
|
|
|
|
# {{{ Alternatives to usual commands
|
2023-01-10 02:38:06 +01:00
|
|
|
ripgrep # Better grep
|
|
|
|
fd # Better find
|
2023-04-27 15:36:14 +02:00
|
|
|
sd # Better sed
|
2023-01-10 02:38:06 +01:00
|
|
|
httpie # Better curl
|
2023-12-02 00:46:56 +01:00
|
|
|
# }}}
|
|
|
|
# {{{ Misc
|
|
|
|
ranger # Terminal file explorer
|
|
|
|
bc # Calculator
|
2023-09-13 17:42:37 +02:00
|
|
|
ouch # Unified compression / decompression tool
|
2023-01-10 02:38:06 +01:00
|
|
|
mkpasswd # Hash passwords
|
2023-08-13 04:15:32 +02:00
|
|
|
inputs.agenix.packages.${pkgs.system}.agenix # Secret encryption
|
2023-12-02 00:46:56 +01:00
|
|
|
# }}}
|
2023-01-10 02:38:06 +01:00
|
|
|
];
|
2023-12-02 00:46:56 +01:00
|
|
|
|
|
|
|
# Set up common aliases
|
|
|
|
home.shellAliases = {
|
|
|
|
# {{{ Storage
|
|
|
|
# -h = humans readable units
|
|
|
|
df = "df -h";
|
|
|
|
du = "du -h";
|
|
|
|
|
|
|
|
# short for `du here`
|
|
|
|
# -d = depth
|
|
|
|
duh = "du -hd 1";
|
|
|
|
# }}}
|
|
|
|
};
|
2023-01-10 02:38:06 +01:00
|
|
|
}
|