diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-23 20:26:57 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-23 20:26:57 -0600 |
| commit | ce7f1d44b874dcaf711dfe7118ef18f9394033df (patch) | |
| tree | da2077360b0531db51d5f68479f131c4c637944d /modules/services | |
| parent | 0e0f60e3aa825de62a7cff51b6306fddfc03490d (diff) | |
add authorized keys to authorized keys files
Diffstat (limited to 'modules/services')
| -rw-r--r-- | modules/services/nixos/ssh.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/services/nixos/ssh.nix b/modules/services/nixos/ssh.nix index 7415f44..6c1b2fc 100644 --- a/modules/services/nixos/ssh.nix +++ b/modules/services/nixos/ssh.nix @@ -32,9 +32,13 @@ in { "jupiter".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPB7feUHl5qoD5zF9AMOV2meViA+wZYdVvbVjPkggZf8"; "ganymede".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINlr+53UmlGVP1blkdNl6NFqn1w2umFJyjH1EVUPKIy9"; }; + + authorizedKeysFiles = [ + "/etc/ssh/authorized_keys.d/locals" + ]; }; - environment.etc."etc/ssh/authorized_keys.d/locals".text = '' + environment.etc."ssh/authorized_keys.d/locals".text = '' ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAvxtKW0rmRBi8J67gLrLv8Zv338AcmZ3P20DePiUfnX mercury ''; |
