tvl-depot/users/wpcarro/common.nix
William Carroll ff0552c758 feat(wpcarro/nixos): Include whois in my coreutils
More DNS debugging tools

Change-Id: I5ac192a1f8811149ae3eb0133c7d06496753248b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4749
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-08 05:31:53 +00:00

59 lines
859 B
Nix

{ pkgs, ... }:
{
programs = {
fish.enable = true;
ssh = {
startAgent = true;
extraConfig = ''
AddKeysToAgent yes
'';
};
git = {
enable = true;
config = {
user.name = "William Carroll";
user.email = "wpcarro@gmail.com";
};
};
};
services = {
locate.enable = true;
depot.automatic-gc = {
enable = true;
interval = "1 hour";
diskThreshold = 16; # GiB
maxFreed = 10; # GiB
preserveGenerations = "14d";
};
};
# Command-line tools I commonly used and want available on most (or all) of my
# machines.
shell-utils = with pkgs; [
bat
dig
direnv
diskus
emacs
exa
fd
fzf
git
jq
mkpasswd
nmap
python3
ripgrep
tldr
tokei
tree
vim
whois
xclip
];
}