mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Add hetznix01
This commit is contained in:
parent
0d868fc0aa
commit
a62a3d136a
9 changed files with 120 additions and 14 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue