Add hetznix01

This commit is contained in:
Gene Liverman 2024-02-05 00:45:52 -05:00 committed by Gene Liverman
parent 0d868fc0aa
commit a62a3d136a
9 changed files with 120 additions and 14 deletions

View file

@ -52,21 +52,9 @@
services = {
openssh.enable = true;
tailscale = {
enable = true;
authKeyFile = config.sops.secrets.tailscale_key.path;
};
};
sops = {
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
secrets = {
tailscale_key = {
restartUnits = [ "tailscaled-autoconnect.service" ];
sopsFile = ../../hosts/nixos/${hostname}/secrets.yaml;
};
};
};
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
time.timeZone = "America/New_York";