Merge pull request 'feat(beszel): add beszel agent to tailscale-router' (#72) from worktree-beszel-tailscale-router into main
Check NixOS configurations / eval-hosts (push) Failing after 11m27s

Reviewed-on: #72
This commit was merged in pull request #72.
This commit is contained in:
2026-07-26 01:08:29 +00:00
3 changed files with 20 additions and 0 deletions
+8
View File
@@ -77,6 +77,14 @@ creation_rules:
- *admin - *admin
- *lxc-tor-relay - *lxc-tor-relay
- path_regex: secrets/tailscale-router\.yaml$
key_groups:
- age:
- *admin
- *linode-tailscale-router
- *lxc-tailscale-router
- *proxmox-tailscale-router
# gui-host-specific secrets (currently: wifi-password, see # gui-host-specific secrets (currently: wifi-password, see
# modules/networking/wifi.nix). Only *lxc-gui has a registered key today # modules/networking/wifi.nix). Only *lxc-gui has a registered key today
# -- proxmox-gui/linode-gui/baremetal-gui haven't been provisioned via # -- proxmox-gui/linode-gui/baremetal-gui haven't been provisioned via
+11
View File
@@ -1,8 +1,19 @@
_: _:
{ {
imports = [
(import ../../modules/beszel/host-token.nix {
name = "tailscale-router";
sopsFile = ../../secrets/tailscale-router.yaml;
})
];
networking.hostName = "tailscale-router"; networking.hostName = "tailscale-router";
services.beszel.agent.environment = {
KEY = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFPR9kwtC4TAeTRu46A7+opZsYpxqkRJ+x/ZyB2GWCeG";
};
# No networking.hostId: only ZFS-touching hosts (server, docker) need one # No networking.hostId: only ZFS-touching hosts (server, docker) need one
# for pool-import safety, and this host does neither. # for pool-import safety, and this host does neither.
+1
View File
@@ -3,6 +3,7 @@
{ {
imports = [ imports = [
../tailscale/subnet-router.nix ../tailscale/subnet-router.nix
../beszel/enable-agent.nix
]; ];
# "server", not "both": this build type advertises LAN subnet routes but # "server", not "both": this build type advertises LAN subnet routes but