Fixed Option

This commit is contained in:
2026-04-05 22:02:27 +02:00
parent 8f9d6204ee
commit eee7f44ab7
3 changed files with 4 additions and 3 deletions

View File

@@ -12,6 +12,7 @@
./packages.nix ./packages.nix
./git.nix ./git.nix
./shell.nix ./shell.nix
./ssh.nix
./xdg.nix ./xdg.nix
./neovim ./neovim
./python.nix ./python.nix

View File

@@ -1,8 +1,9 @@
{ primaryUser, isDarwin, ... }: { primaryUser, isDarwin, ... }:
{ {
ssh = { programs.ssh = {
enable = true; enable = true;
matchBlock = { addKeysToAgent = "yes";
matchBlocks = {
"*.cyperpunk.de" = { "*.cyperpunk.de" = {
identityFile = identityFile =
if isDarwin then "/Users/${primaryUser}/.ssh/ssh" else "/home/${primaryUser}/.ssh/ssh"; if isDarwin then "/Users/${primaryUser}/.ssh/ssh" else "/home/${primaryUser}/.ssh/ssh";

View File

@@ -107,7 +107,6 @@
home = "/home/${primaryUser}"; home = "/home/${primaryUser}";
shell = pkgs.fish; shell = pkgs.fish;
isNormalUser = true; isNormalUser = true;
openssh.authorizedKeys.keyFiles = [ ../secrets/ssh-key ];
extraGroups = [ extraGroups = [
"wheel" "wheel"
"video" "video"