feat: automate SSH config ('known_hosts', 'authorized_keys' ...)

This commit is contained in:
2026-03-11 21:25:32 +01:00
committed by hektor
parent fbdcf51e6c
commit 66f36cf71c
15 changed files with 143 additions and 9 deletions
+6 -1
View File
@@ -1,6 +1,7 @@
{
lib,
inputs,
outputs,
config,
pkgs,
...
@@ -75,7 +76,9 @@ in
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
extraSpecialArgs = {
inherit inputs outputs;
};
users.${username} = import ../../home/hosts/astyanax {
inherit inputs;
inherit config;
@@ -88,6 +91,8 @@ in
hostId = "80eef97e";
};
ssh.authorizedHosts = [ "andromache" ];
services = {
fwupd.enable = true;
openssh = {
+1
View File
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO8+UOyZbvQeHfFfYox3SQi42KJ0S3RZj79iswSsZeFy root@nixos
+1
View File
@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIzP1PjIDb1tN9nhPOK88HYDtTNk9SN9ZpEem2id49Fa h@astyanax