2022-01-06 23:07:34 +01:00
|
|
|
{ depot, pkgs, ... }:
|
2021-12-25 00:44:36 +01:00
|
|
|
|
2022-01-06 23:07:34 +01:00
|
|
|
let
|
|
|
|
inherit (depot.users) wpcarro;
|
2022-01-30 17:06:58 +01:00
|
|
|
in
|
|
|
|
{
|
2021-12-25 03:12:15 +01:00
|
|
|
programs = {
|
|
|
|
fish.enable = true;
|
|
|
|
|
|
|
|
ssh = {
|
|
|
|
startAgent = true;
|
|
|
|
extraConfig = ''
|
|
|
|
AddKeysToAgent yes
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
user.name = "William Carroll";
|
|
|
|
user.email = "wpcarro@gmail.com";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-12-25 03:11:24 +01:00
|
|
|
services = {
|
2021-12-25 03:16:24 +01:00
|
|
|
locate.enable = true;
|
|
|
|
|
2021-12-25 03:11:24 +01:00
|
|
|
depot.automatic-gc = {
|
|
|
|
enable = true;
|
|
|
|
interval = "1 hour";
|
|
|
|
diskThreshold = 16; # GiB
|
|
|
|
maxFreed = 10; # GiB
|
|
|
|
preserveGenerations = "14d";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-12-25 00:44:36 +01:00
|
|
|
# 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
|
2022-02-08 20:12:34 +01:00
|
|
|
rink
|
2021-12-25 00:44:36 +01:00
|
|
|
ripgrep
|
|
|
|
tldr
|
|
|
|
tokei
|
|
|
|
tree
|
|
|
|
vim
|
2021-12-30 15:22:12 +01:00
|
|
|
whois
|
2022-01-25 20:49:30 +01:00
|
|
|
# TODO(wpcarro): Debug this failing build.
|
|
|
|
# wpcarro.tools.simple_vim
|
2021-12-25 00:44:36 +01:00
|
|
|
xclip
|
|
|
|
];
|
|
|
|
}
|