1
Fork 0
satellite/home/features/cli/default.nix

56 lines
1.1 KiB
Nix
Raw Normal View History

{ pkgs, ... }:
{
2023-02-15 11:28:43 +01:00
imports = [
./scripts
./eza.nix
2023-02-15 11:28:43 +01:00
./bat.nix
./ssh.nix
./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
programs.bash.enable = true;
2024-07-06 19:32:14 +02:00
stylix.targets.yazi.enable = true;
2023-01-10 02:38:06 +01:00
home.packages = with pkgs; [
# {{{ System information
2023-12-02 00:46:56 +01:00
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
2024-02-29 12:45:13 +01:00
yazi # Terminal file explorer
2023-12-02 00:46:56 +01:00
bc # Calculator
ouch # Unified compression / decompression tool
2023-01-10 02:38:06 +01:00
mkpasswd # Hash passwords
2023-12-15 05:23:40 +01:00
jq # Json maniuplation
2023-12-02 00:46:56 +01:00
# }}}
2023-01-10 02:38:06 +01:00
];
2023-12-02 00:46:56 +01:00
home.shellAliases = {
# {{{ Storage
2024-07-06 19:32:14 +02:00
# -h: humans readable units
2023-12-02 00:46:56 +01:00
df = "df -h";
du = "du -h";
2024-07-06 19:32:14 +02:00
# duh: short for `du here`
# -d: depth
2023-12-02 00:46:56 +01:00
duh = "du -hd 1";
# }}}
};
2023-01-10 02:38:06 +01:00
}