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

36 lines
886 B
Nix
Raw Normal View History

2024-01-14 06:29:18 +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";
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
tree # directory structure
bc # basic calculator
vim # editor
ranger # console file manager
htop # system monitor
2023-07-07 22:14:02 +08:00
scrot # screenshot
2023-10-10 18:59:47 +08:00
direnv # load environment
2023-11-20 12:06:27 +08:00
jq # JSON processor
2024-01-14 06:29:18 +08:00
git # version control
2024-07-09 09:46:08 +08:00
nmap # network mapper
2024-08-07 20:58:06 +08:00
xclip # clipboard
ripgrep # searches the current directory for a regex pattern
2023-07-01 21:46:27 +08:00
# HTTP
curl # transfer dato to/from server
wget # download files from web
# Archive
unrar # extract roshal archive
unzip # extract zip archive
];
2024-01-21 21:03:57 +08:00
pathsToLink = [ "/share/zsh" ];
2023-07-01 21:46:27 +08:00
};
}