mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 06:19:11 +00:00
hosts/ni: remove hardcoded SSH key
It's not needed anymore.
This commit is contained in:
parent
79b2d06a23
commit
cbf897fc49
@ -31,15 +31,6 @@
|
|||||||
# Enable the display manager of choice.
|
# Enable the display manager of choice.
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
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.
|
# The keyfile required for the secrets to be decrypted.
|
||||||
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
|
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user