All checks were successful
Flake check / flake-check (pull_request) Successful in 20s
33 lines
469 B
Nix
33 lines
469 B
Nix
{
|
|
inputs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
inputs.synix.nixosModules.headplane
|
|
inputs.synix.nixosModules.headscale
|
|
];
|
|
|
|
services.headplane = {
|
|
enable = true;
|
|
reverseProxy = {
|
|
enable = true;
|
|
subdomain = "hp";
|
|
};
|
|
};
|
|
|
|
services.headscale = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
reverseProxy = {
|
|
enable = true;
|
|
subdomain = "hs";
|
|
};
|
|
settings = {
|
|
dns = {
|
|
magic_dns = true;
|
|
};
|
|
};
|
|
};
|
|
}
|