Compare commits

...

2 Commits

Author SHA1 Message Date
b7be45715e nixos/britway: Update headscale config
Some checks failed
CI / Check, build and cache Nix flake (push) Failing after 14m11s
2024-07-15 22:58:49 +01:00
3522a7078b Re-update nixpkgs 2024-07-15 22:58:42 +01:00
2 changed files with 11 additions and 9 deletions

12
flake.lock generated
View File

@ -648,11 +648,11 @@
},
"nixpkgs-mine": {
"locked": {
"lastModified": 1720115894,
"narHash": "sha256-oWiGxG2JRchzTYP11jSCHOnbom5tOwbZofV2IjbTdnk=",
"lastModified": 1721079763,
"narHash": "sha256-mlzukvwgiBm9Q8BedrZagnTcsDTXYKaFCf38KiSrsMc=",
"owner": "devplayer0",
"repo": "nixpkgs",
"rev": "f05b4fdd5610255bd674ce75faaf573a614bdb60",
"rev": "b4cd56e5afee2cec3e1feca912680539cbb51403",
"type": "github"
},
"original": {
@ -664,11 +664,11 @@
},
"nixpkgs-mine-stable": {
"locked": {
"lastModified": 1720116136,
"narHash": "sha256-cUfR+WCV5xz3nga7uGPdAMvlYaITpP7qEcVbEdoMRXU=",
"lastModified": 1720987393,
"narHash": "sha256-aq1reu43552gD+QRyxAMlimAX9+YbGpAIyw82jg0eWY=",
"owner": "devplayer0",
"repo": "nixpkgs",
"rev": "281333a642d6f8156554e0d8457083d8a0d435c2",
"rev": "154ab603fb2b794b437f233853aeb3c75f101049",
"type": "github"
},
"original": {

View File

@ -46,10 +46,12 @@ in
disable_check_updates = true;
unix_socket_permission = "0770";
server_url = "https://ts.${pubDomain}";
db_type = "sqlite3";
db_path = "/var/lib/headscale/db.sqlite3";
database = {
type = "sqlite3";
sqlite.path = "/var/lib/headscale/db.sqlite3";
};
noise.private_key_path = "/var/lib/headscale/noise_private.key";
ip_prefixes = with lib.my.c.tailscale.prefix; [ v4 v6 ];
prefixes = with lib.my.c.tailscale.prefix; { inherit v4 v6; };
dns_config = {
# Use IPs that will route inside the VPN to prevent interception
# (e.g. DNS rebinding filtering)