Skyler Grey | 8a24c20 | 2024-06-09 13:51:45 +0000 | [diff] [blame] | 1 | { config, ... }: { |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 2 | networking.hostName = "greylag"; |
| 3 | networking.useDHCP = true; |
Skyler Grey | 8a24c20 | 2024-06-09 13:51:45 +0000 | [diff] [blame] | 4 | |
| 5 | chimera.networking.tailscale.authKeyFile = config.sops.secrets."systems/x86_64-linux/greylag/networking/tailscale.sops.minion.json:authkey".path; |
| 6 | |
| 7 | sops.secrets."systems/x86_64-linux/greylag/networking/tailscale.sops.minion.json:authkey" = { |
| 8 | mode = "0400"; |
| 9 | owner = config.users.users.root.name; |
| 10 | group = config.users.users.root.group; |
| 11 | sopsFile = ./tailscale.sops.minion.json; |
| 12 | format = "json"; |
| 13 | key = "authkey"; |
| 14 | }; |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 15 | } |