dotfiles.nix/nixos/common/global/env.nix

34 lines
836 B
Nix
Raw Normal View History

2024-08-08 09:02:42 +08:00
{pkgs, ...}: {
2023-07-01 21:46:27 +08:00
environment = {
2024-01-21 21:03:57 +08:00
binsh = "${pkgs.bash}/bin/bash";
2024-08-08 09:02:42 +08:00
shells = with pkgs; [zsh];
2023-07-01 21:46:27 +08:00
systemPackages = with pkgs; [
# Ensure home-manager is on all systems
home-manager
# Useful system utilities
2024-08-08 09:02:42 +08:00
tree # directory structure
bc # basic calculator
vim # editor
ranger # console file manager
htop # system monitor
scrot # screenshot
direnv # load environment
jq # JSON processor
git # version control
nmap # network mapper
xclip # clipboard
2024-08-07 20:58:06 +08:00
ripgrep # searches the current directory for a regex pattern
2023-07-01 21:46:27 +08:00
# HTTP
2024-08-08 09:02:42 +08:00
curl # transfer dato to/from server
wget # download files from web
2023-07-01 21:46:27 +08:00
# Archive
2024-08-08 09:02:42 +08:00
unrar # extract roshal archive
unzip # extract zip archive
2023-07-01 21:46:27 +08:00
];
2024-08-08 09:02:42 +08:00
pathsToLink = ["/share/zsh"];
2023-07-01 21:46:27 +08:00
};
}