forked from aylac.top/nixcfg
this repo has no description
1{ 2 config, 3 lib, 4 self, 5 ... 6}: { 7 options.mySnippets.ssh.knownHosts = lib.mkOption { 8 type = lib.types.attrs; 9 description = "Default ssh known hosts."; 10 11 default = { 12 morgana = { 13 hostNames = ["morgana" "morgana.local" "morgana.${config.mySnippets.tailnet.name}"]; 14 publicKeyFile = "${self.inputs.secrets}/publicKeys/root_morgana.pub"; 15 }; 16 17 ayla_morgana = { 18 hostNames = ["morgana" "morgana.local" "morgana.${config.mySnippets.tailnet.name}"]; 19 publicKeyFile = "${self.inputs.secrets}/publicKeys/ayla_morgana.pub"; 20 }; 21 22 nanpi = { 23 hostNames = ["nanpi" "nanpi.local" "nanpi.${config.mySnippets.tailnet.name}"]; 24 publicKeyFile = "${self.inputs.secrets}/publicKeys/root_nanpi.pub"; 25 }; 26 27 m23 = { 28 hostNames = ["m23" "m23.local" "m23.${config.mySnippets.tailnet.name}"]; 29 publicKeyFile = "${self.inputs.secrets}/publicKeys/ayla_m23.pub"; 30 }; 31 }; 32 }; 33}