From 921b55e2def597b8e13f9626c2dd9ec663dcfc86 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 4 Aug 2024 13:07:25 +0900 Subject: feat(nixos/kanata): enable setupSshHostKeys --- nixos/kanata/configuration.nix | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'nixos') diff --git a/nixos/kanata/configuration.nix b/nixos/kanata/configuration.nix index e1627fb..a053838 100644 --- a/nixos/kanata/configuration.nix +++ b/nixos/kanata/configuration.nix @@ -70,22 +70,6 @@ in services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = maintainerKeys; - # NOTE: managed by modules.persistence - # TODO: remove? - # fileSystems."/persist".neededForBoot = true; - # - # services.openssh.hostKeys = [ - # { - # path = "/persist/ssh/ssh_host_ed25519_key"; - # type = "ed25519"; - # } - # { - # path = "/persist/ssh/ssh_host_rsa_key"; - # type = "rsa"; - # bits = 4096; - # } - # ]; - sops.defaultSopsFile = ./secrets/secrets.yaml; powerManagement.cpuFreqGovernor = "ondemand"; @@ -143,6 +127,7 @@ in persistence = { enable = true; storagePath = "/persist"; + setupSshHostKeys = true; }; # NOTE: This module only populates route entries, -- cgit 1.4.1