From cbf897fc499aca73082f1211d72c53ba45a14063 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 28 Feb 2024 20:16:28 +0800 Subject: [PATCH] hosts/ni: remove hardcoded SSH key It's not needed anymore. --- configs/nixos/ni/default.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/configs/nixos/ni/default.nix b/configs/nixos/ni/default.nix index 35e1b492..869364a4 100644 --- a/configs/nixos/ni/default.nix +++ b/configs/nixos/ni/default.nix @@ -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";