many updates, new linode server
This commit is contained in:
parent
343f5d7b52
commit
e27a4af6d2
20 changed files with 2528 additions and 137 deletions
24
hosts/linode/l001/headscale.nix
Normal file
24
hosts/linode/l001/headscale.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
config = {
|
||||
# TODO backup /var/lib/headscale data
|
||||
# TODO https://github.com/gurucomputing/headscale-ui ?
|
||||
environment.systemPackages = with pkgs; [ headscale ];
|
||||
services.headscale = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server_url = "https://nexus.joshuabell.xyz";
|
||||
database.type = "sqlite3";
|
||||
derp = {
|
||||
auto_update_enable = true;
|
||||
update_frequency = "5m";
|
||||
};
|
||||
dns = {
|
||||
magic_dns = true;
|
||||
base_domain = "net.joshuabell.xyz";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue