a21da10b16
I'm considering `alias vim=simple_vim`, but I'm not sure yet. Change-Id: Ia6d625d4925939f4e5c6088a8b4067870c1a2522 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4819 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
62 lines
935 B
Nix
62 lines
935 B
Nix
{ depot, pkgs, ... }:
|
|
|
|
let
|
|
inherit (depot.users) wpcarro;
|
|
in {
|
|
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
|
|
wpcarro.tools.simple_vim
|
|
xclip
|
|
];
|
|
}
|