diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-23 17:36:38 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-23 17:36:38 -0600 |
| commit | f769e23f383c394d3e287c4fb2d34c5b9a6491d9 (patch) | |
| tree | 94b611028ed351d6840396b4fff783fdb8032c35 /modules/services | |
| parent | 1efe7e2d15e2b10029d7893a63f142892a791e65 (diff) | |
add authorized keys
Diffstat (limited to 'modules/services')
| -rw-r--r-- | modules/services/nixos/ssh.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/services/nixos/ssh.nix b/modules/services/nixos/ssh.nix index 7868a31..c1eb628 100644 --- a/modules/services/nixos/ssh.nix +++ b/modules/services/nixos/ssh.nix @@ -34,6 +34,12 @@ in { }; }; + environment.etc."etc/ssh/authorized_keys.d/locals".text = '' + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIQtMAgPdWwrOzlZT/lEIRQZ+ajhafG9AEJCrF2/bsmN mercury + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPB7feUHl5qoD5zF9AMOV2meViA+wZYdVvbVjPkggZf8 jupiter + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINlr+53UmlGVP1blkdNl6NFqn1w2umFJyjH1EVUPKIy9 ganymede + ''; + systemd.services."openssh" = lib.mkIf config.collinux.services.networking.networkd.enable { after = lib.mkAfter ["network-online.target"]; wants = lib.mkAfter ["network-online.target"]; |
