mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
rolled back to alpha4 headscale
This commit is contained in:
parent
cceb3632fd
commit
397997ae48
4 changed files with 18 additions and 11 deletions
|
@ -252,17 +252,17 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1705595425,
|
"lastModified": 1707988981,
|
||||||
"narHash": "sha256-oNlCsosFl+ZsStSrEXk5SmirJCjc3H+Jr7Ro0C8EQ5U=",
|
"narHash": "sha256-8qsm0OGAwKtGwMm3g4jUxhOLH9v9YS7iTi+JoMtvMc0=",
|
||||||
"owner": "juanfont",
|
"owner": "juanfont",
|
||||||
"repo": "headscale",
|
"repo": "headscale",
|
||||||
"rev": "1e22f17f36f8c13185dff269e6a00424b49b9568",
|
"rev": "c42f25bd72e8b8d740af6c7cc4410507fc686b7e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "juanfont",
|
"owner": "juanfont",
|
||||||
"repo": "headscale",
|
"repo": "headscale",
|
||||||
"rev": "1e22f17f36f8c13185dff269e6a00424b49b9568",
|
"rev": "c42f25bd72e8b8d740af6c7cc4410507fc686b7e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
};
|
};
|
||||||
headscale = {
|
headscale = {
|
||||||
# url = "github:kradalby/headscale/bbb4c357268998fd02780b7f8f2013f76e3ab80a";
|
# url = "github:kradalby/headscale/bbb4c357268998fd02780b7f8f2013f76e3ab80a";
|
||||||
url = "github:juanfont/headscale/1e22f17f36f8c13185dff269e6a00424b49b9568";
|
url = "github:juanfont/headscale/c42f25bd72e8b8d740af6c7cc4410507fc686b7e";
|
||||||
# url = "github:juanfont/headscale"; # Real repo
|
# url = "github:juanfont/headscale"; # Real repo
|
||||||
inputs."flake-utils".follows = "utils";
|
inputs."flake-utils".follows = "utils";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
@ -2,26 +2,26 @@
|
||||||
{
|
{
|
||||||
name = "vaultwarden.nickiel.net";
|
name = "vaultwarden.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1/31";
|
value = "100.64.0.1";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "git.nickiel.net";
|
name = "git.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1/31";
|
value = "100.64.0.1";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "files.nickiel.net";
|
name = "files.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1/31";
|
value = "100.64.0.1";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "iot.nickiel.net";
|
name = "iot.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1/31";
|
value = "100.64.0.1";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "atuin.nickiel.net";
|
name = "atuin.nickiel.net";
|
||||||
type = "A";
|
type = "A";
|
||||||
value = "100.64.0.1/31";
|
value = "100.64.0.1";
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -21,8 +21,15 @@ in {
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
port = 8082;
|
port = 8082;
|
||||||
settings = {
|
settings = {
|
||||||
|
prefixes = {
|
||||||
|
v6 = "fd7a:115c:a1e0::/48";
|
||||||
|
v4 = "100.64.0.0/10";
|
||||||
|
};
|
||||||
server_url = "https://${domain}";
|
server_url = "https://${domain}";
|
||||||
# database.type = "sqlite";
|
database = {
|
||||||
|
type = "sqlite3";
|
||||||
|
sqlite.path = "/var/lib/headscale/db.sqlite";
|
||||||
|
};
|
||||||
dns_config = {
|
dns_config = {
|
||||||
base_domain = baseDomain;
|
base_domain = baseDomain;
|
||||||
extra_records = tailscale_dns_entries;
|
extra_records = tailscale_dns_entries;
|
||||||
|
|
Loading…
Reference in a new issue