diff options
author | sefidel <contact@sefidel.net> | 2024-08-04 13:07:25 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-08-04 13:07:25 +0900 |
commit | 921b55e2def597b8e13f9626c2dd9ec663dcfc86 (patch) | |
tree | 535c0a89db8281fe169c98606623bfcec6142589 /nixos | |
parent | 8119a7df09d35760389cdb631347548511d7f72c (diff) | |
download | nixrc-921b55e2def597b8e13f9626c2dd9ec663dcfc86.tar.gz nixrc-921b55e2def597b8e13f9626c2dd9ec663dcfc86.zip |
feat(nixos/kanata): enable setupSshHostKeys
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/kanata/configuration.nix | 17 |
1 files changed, 1 insertions, 16 deletions
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, |