1
mirror of https://github.com/wlcx/home.git synced 2025-10-13 23:33:45 +01:00

Compare commits

..

No commits in common. "6e55465310e8d652c19ab415f9effa518f5b0de9" and "38715744d0212b390fb2ebdc3451ca18e083e0bf" have entirely different histories.

3 changed files with 8 additions and 10 deletions

View File

@ -39,13 +39,13 @@ in {
ns = "nix shell nixpkgs#"; ns = "nix shell nixpkgs#";
hm = ''home-manager --flake ".#$(hostname -s)"''; hm = ''home-manager --flake ".#$(hostname -s)"'';
hms = ''home-manager --flake ".#$(hostname -s)" switch''; hms = ''home-manager --flake ".#$(hostname -s)" switch'';
nr = "nixos-rebuild --sudo --flake '.#'"; nr = "nixos-rebuild --use-remote-sudo --flake '.#'";
nrs = "nixos-rebuild --sudo --flake '.#' switch"; nrs = "nixos-rebuild --use-remote-sudo --flake '.#' switch";
da = "direnv allow ."; da = "direnv allow .";
dr = "direnv reload"; dr = "direnv reload";
}; };
# Extra .zshrc stuff # Extra .zshrc stuff
initContent = '' initExtra = ''
# zstyle ':completion:*' menu select # fancy interactive autocomplete # zstyle ':completion:*' menu select # fancy interactive autocomplete
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # tabcomplete lower to upper case zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # tabcomplete lower to upper case
@ -101,11 +101,9 @@ in {
ssh = { ssh = {
enable = true; enable = true;
includes = ["~/.ssh/config.local"]; includes = ["~/.ssh/config.local"];
matchBlocks."*" = {
user = "samw";
serverAliveInterval = 30; serverAliveInterval = 30;
serverAliveCountMax = 10; serverAliveCountMax = 10;
}; matchBlocks."*".user = "samw";
}; };
}; };
} }

View File

@ -26,6 +26,6 @@
services.gpg-agent = { services.gpg-agent = {
enable = !pkgs.stdenv.isDarwin; enable = !pkgs.stdenv.isDarwin;
enableSshSupport = true; enableSshSupport = true;
pinentry.package = pkgs.pinentry-all; pinentryPackage = pkgs.pinentry-all;
}; };
} }

View File

@ -18,7 +18,7 @@ with pkgs; rec {
net = [dig iperf3 nmap socat tcpdump whois]; net = [dig iperf3 nmap socat tcpdump whois];
# development tools # development tools
dev = [jq nixfmt gh glab hexyl helix]; dev = [jq nixfmt gh glab hexyl];
all = base ++ net ++ dev; all = base ++ net ++ dev;
} }