nixos-config/base/programs.nix

59 lines
875 B
Nix
Raw Normal View History

2022-04-10 11:54:58 +02:00
{pkgs, ...}: {
2021-03-24 21:55:57 +01:00
programs = {
fish.enable = true;
2021-03-24 22:17:07 +01:00
less.enable = true;
2021-03-24 21:55:57 +01:00
mosh.enable = true;
2023-12-13 17:39:14 +01:00
tmux.enable = true;
2021-04-23 23:42:54 +02:00
# setcap wrapper for network permissions
bandwhich.enable = true;
2021-03-24 21:55:57 +01:00
};
2022-11-14 23:46:17 +01:00
services.openssh = {
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
StreamLocalBindUnlink = true;
};
2022-11-14 23:46:17 +01:00
};
2022-01-11 16:08:21 +01:00
environment.systemPackages = builtins.attrValues {
2022-04-10 11:54:58 +02:00
inherit
(pkgs)
2022-01-11 16:08:21 +01:00
# shell usage
2023-12-13 17:39:30 +01:00
bat
2022-01-11 16:08:21 +01:00
fd
2023-02-28 13:41:13 +01:00
file
2022-01-11 16:08:21 +01:00
ripgrep
sd
tokei
tree
wget
2022-06-20 13:35:36 +02:00
jq
pciutils
usbutils
2022-01-11 16:08:21 +01:00
# development
2023-12-13 17:39:30 +01:00
agenix
2022-04-10 11:40:52 +02:00
alejandra
2022-01-11 16:08:21 +01:00
git
git-crypt
git-lfs
gnumake
gnupg
2022-12-12 15:22:58 +01:00
pinentry-qt
2022-01-11 16:08:21 +01:00
python3
vim
# terminal utilities
2022-04-10 11:54:58 +02:00
2022-01-11 16:08:21 +01:00
dogdns
du-dust
htop
ldns # drill
unzip
zip
2022-04-10 11:54:58 +02:00
;
2022-01-11 16:08:21 +01:00
};
2021-03-24 21:55:57 +01:00
}