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;
|
|
|
|
in
|
|
|
|
{
|
2021-12-25 03:12:15 +01:00
|
|
|
programs = {
|
|
|
|
fish.enable = true;
|
|
|
|
|
2022-04-15 19:31:01 +02:00
|
|
|
gnupg.agent.enable = true;
|
|
|
|
|
2021-12-25 03:12:15 +01:00
|
|
|
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 = {
|
2022-08-01 23:10:43 +02:00
|
|
|
# Remodel the system clipboard as a list instead of a point.
|
|
|
|
clipmenu.enable = true;
|
|
|
|
|
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
|
2022-04-15 19:31:01 +02:00
|
|
|
gnupg
|
2022-05-09 19:41:56 +02:00
|
|
|
htop
|
2021-12-25 00:44:36 +01:00
|
|
|
jq
|
|
|
|
mkpasswd
|
|
|
|
nmap
|
2022-04-15 19:31:01 +02:00
|
|
|
pass
|
2021-12-25 00:44:36 +01:00
|
|
|
python3
|
2022-02-08 20:12:34 +01:00
|
|
|
rink
|
2021-12-25 00:44:36 +01:00
|
|
|
ripgrep
|
2022-08-01 22:44:37 +02:00
|
|
|
sysz
|
2021-12-25 00:44:36 +01:00
|
|
|
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
|
2022-05-09 19:41:56 +02:00
|
|
|
zip
|
2021-12-25 00:44:36 +01:00
|
|
|
];
|
|
|
|
}
|