blob: b0bdd4d1419aa335b7e5b7ef31ab1a57c9e346ff [file] [log] [blame]
Skyler Grey8a24c202024-06-09 13:51:45 +00001{ config, ... }: {
Samuel Shuert02ffd1e2024-02-13 21:37:15 -05002 networking.hostName = "greylag";
3 networking.useDHCP = true;
Skyler Grey8a24c202024-06-09 13:51:45 +00004
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 Shuert02ffd1e2024-02-13 21:37:15 -050015}