fix(headscale.nix): update domain and package reference

- Updated `domain` to use a single string "vipienne.giugl.io"
- Changed `headscalePkg` to use the stable `pkgs.headscale` instead of `pkgs.unstablePkgs.headscale`
- Corrected `base_domain` in `dns_config` to use the updated `domain` variable
This commit is contained in:
Giulio De Pasquale 2024-11-17 20:30:42 +00:00
parent 15448ebc67
commit 5d090a32bd

View File

@ -1,9 +1,8 @@
{ config, pkgs, ... }:
let
baseDomain = "giugl.io";
domain = "vipienne.${baseDomain}";
headscalePkg = pkgs.unstablePkgs.headscale;
domain = "vipienne.giugl.io";
headscalePkg = pkgs.headscale;
in
{
environment.systemPackages = [ headscalePkg ];
@ -33,7 +32,7 @@ in
log.level = "debug";
dns_config = {
magic_dns = false;
base_domain = baseDomain;
base_domain = domain;
override_local_dns = true;
nameservers = [
config.architect.networks.tailscale.devices.architect.address