File tree Expand file tree Collapse file tree 6 files changed +38
-0
lines changed
Expand file tree Collapse file tree 6 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 2929 url = "github:nix-community/disko" ;
3030 inputs . nixpkgs . follows = "nixpkgs" ;
3131 } ;
32+ golink = {
33+ url = "github:tailscale/golink" ;
34+ inputs . nixpkgs . follows = "nixpkgs" ;
35+ inputs . systems . follows = "systems" ;
36+ } ;
3237
3338 # macOS
3439 nix-darwin = {
Original file line number Diff line number Diff line change 33 pkgs ,
44 ...
55} : {
6+ age . secrets . tailscale-auth-key . file = ./secrets/tailscale-auth-key.age ;
7+ services . golink = {
8+ enable = true ;
9+ tailscaleAuthKeyFile = config . age . secrets . tailscale-auth-key . path ;
10+ } ;
11+
612 services . openssh . enable = true ;
713 services . tailscale . enable = true ;
814}
Original file line number Diff line number Diff line change 1212 mac-app-util ,
1313 profile ,
1414 disko ,
15+ golink ,
1516 ...
1617} : let
1718 keys = import ./keys.nix ;
6263 {
6364 nixpkgs . overlays = overlays ;
6465 }
66+ golink . nixosModules . default
6567 ] ;
6668 } ;
6769 darwinHost = {
Original file line number Diff line number Diff line change 1616 "hosts/spore/secrets/restic-password.age" . publicKeys = keys ;
1717 "hosts/spore/secrets/session-secret.age" . publicKeys = keys ;
1818 "hosts/spore/secrets/storage-encryption-key.age" . publicKeys = keys ;
19+ "hosts/spore/secrets/tailscale-auth-key.age" . publicKeys = keys ;
1920 "hosts/zeta/secrets/wireless.age" . publicKeys = keys ;
2021 "hosts/zeta/secrets/dd-agent.age" . publicKeys = keys ;
2122 "hosts/zeta/secrets/znc-conf.age" . publicKeys = keys ;
You can’t perform that action at this time.
0 commit comments