nixos-config/base/programs.nix

47 lines
743 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
tree
wget
pciutils
usbutils
2022-01-11 16:08:21 +01:00
# development
git
git-crypt
git-lfs
gnumake
gnupg
python3
vim
# terminal utilities
htop
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
}