hosts/ni: remove hardcoded SSH key

It's not needed anymore.
This commit is contained in:
Gabriel Arazas 2024-02-28 20:16:28 +08:00
parent 79b2d06a23
commit cbf897fc49
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -31,15 +31,6 @@
# Enable the display manager of choice.
services.xserver.displayManager.gdm.enable = true;
services.openssh.hostKeys = [{
path = config.sops.secrets."ssh-key".path;
type = "ed25519";
}];
sops.secrets = foodogsquaredLib.sops-nix.getSecrets ./secrets/secrets.yaml {
"ssh-key" = { };
};
# The keyfile required for the secrets to be decrypted.
sops.age.keyFile = "/var/lib/sops-nix/key.txt";