tvl-depot/users/wpcarro/common.nix
William Carroll 17ce595610 fix(wpcarro/clipmenu): Enable services.clipmenu
Restore `clipmenu.el` functionality!

After running `sudo rebuild-system` I still needed to
`systemctl --user start clipmenu`, which I didn't expect. Maybe this will DWIM
after a reboot.

Change-Id: I51550561c5b6d253cd52790749d07a2e3e72aecc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6024
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-08-02 20:29:20 +00:00

75 lines
1.1 KiB
Nix

{ depot, pkgs, ... }:
let
inherit (depot.users) wpcarro;
in
{
programs = {
fish.enable = true;
gnupg.agent.enable = true;
ssh = {
startAgent = true;
extraConfig = ''
AddKeysToAgent yes
'';
};
git = {
enable = true;
config = {
user.name = "William Carroll";
user.email = "wpcarro@gmail.com";
};
};
};
services = {
# Remodel the system clipboard as a list instead of a point.
clipmenu.enable = true;
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
gnupg
htop
jq
mkpasswd
nmap
pass
python3
rink
ripgrep
sysz
tldr
tokei
tree
vim
whois
# TODO(wpcarro): Debug this failing build.
# wpcarro.tools.simple_vim
xclip
zip
];
}