Skip to content

Commit

Permalink
feat: khanelimac ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Oct 11, 2023
1 parent f0ef13d commit 48da0d9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions systems/aarch64-darwin/khanelimac/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@ in
"Thunderbolt Bridge"
];
};

services = {
openssh = {
enable = true;

authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpfTVxQKmkAYOrsnroZoTk0LewcBIC4OjlsoJY6QbB0"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBG8l3jQ2EPLU+BlgtaQZpr4xr97n2buTLAZTxKHSsD"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM7UBwfd7+K0mdkAIb2TE6RzMu6L4wZnG/anuoYqJMPB"
];

# TODO: make part of ssh config proper
extraConfig = ''
Host server
User ${config.khanelinix.user.name}
Hostname austinserver.local
'';
};
};

security.pam.enableSudoTouchIdAuth = true;

system.stateVersion = 4;
Expand Down

0 comments on commit 48da0d9

Please sign in to comment.