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

25.11 updates, hope it works on 2505 lol

This commit is contained in:
Sam W 2025-10-07 17:26:18 +01:00
parent 9d1d445fbc
commit 6e55465310
2 changed files with 9 additions and 7 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 --use-remote-sudo --flake '.#'"; nr = "nixos-rebuild --sudo --flake '.#'";
nrs = "nixos-rebuild --use-remote-sudo --flake '.#' switch"; nrs = "nixos-rebuild --sudo --flake '.#' switch";
da = "direnv allow ."; da = "direnv allow .";
dr = "direnv reload"; dr = "direnv reload";
}; };
# Extra .zshrc stuff # Extra .zshrc stuff
initExtra = '' initContent = ''
# 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,9 +101,11 @@ in {
ssh = { ssh = {
enable = true; enable = true;
includes = ["~/.ssh/config.local"]; includes = ["~/.ssh/config.local"];
serverAliveInterval = 30; matchBlocks."*" = {
serverAliveCountMax = 10; user = "samw";
matchBlocks."*".user = "samw"; serverAliveInterval = 30;
serverAliveCountMax = 10;
};
}; };
}; };
} }

View File

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