refactor(nix): move headscale configuration into main file and remove import
- Removed `./headscale.nix` from `imports` section - Added `headscale` configuration under `pepe.core` with: - Domain: `vipienne.giugl.io` - Network settings with IPv4 prefixes and DNS configuration - Debug logging enabled - Removed `docker` configuration block from `pepe.core` (separate refactor)
This commit is contained in:
parent
e8afefea50
commit
9277af4088
@ -17,7 +17,6 @@ in
|
||||
./fail2ban.nix
|
||||
./dns.nix
|
||||
./tailscale.nix
|
||||
./headscale.nix
|
||||
./sunshine.nix
|
||||
./postgres.nix
|
||||
./netdata.nix
|
||||
@ -103,16 +102,6 @@ in
|
||||
|
||||
pepe = {
|
||||
core = {
|
||||
docker = {
|
||||
enable = true;
|
||||
nvidia = true;
|
||||
dataRoot = "/docker";
|
||||
extraOptions = "--dns 127.0.0.1 --dns ${config.pepe.core.network.interfaces.lan.devices.architect.address}";
|
||||
enableOnBoot = false;
|
||||
iptables = false;
|
||||
users = [ "giulio" ];
|
||||
};
|
||||
|
||||
media = {
|
||||
enable = true;
|
||||
path = "/media";
|
||||
@ -272,6 +261,20 @@ in
|
||||
frontend.themes = "!include_dir_merge_named themes";
|
||||
};
|
||||
};
|
||||
|
||||
headscale = {
|
||||
enable = true;
|
||||
package = pkgs.unstablePkgs.headscale;
|
||||
domain = "vipienne.giugl.io";
|
||||
settings = with config.pepe.core.network.interfaces.tailscale; {
|
||||
prefixes.v4 = net;
|
||||
dns = {
|
||||
global = [ devices.architect.address ];
|
||||
nameservers.global = [ devices.architect.address ];
|
||||
};
|
||||
log.level = "debug";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user