move profiles to use haumea

This commit is contained in:
xunuwu 2024-10-24 11:41:51 +02:00
parent 4cec867a78
commit 716e9e7ac2
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
91 changed files with 30 additions and 53 deletions

View file

@ -0,0 +1,13 @@
{
# network discovery, mDNS
services.avahi = {
enable = true;
nssmdns4 = true;
publish = {
enable = true;
domain = true;
userServices = true;
};
openFirewall = true;
};
}

View file

@ -0,0 +1,6 @@
{
networking.firewall = {
allowedTCPPorts = [47584];
allowedUDPPorts = [47584];
};
}

View file

@ -0,0 +1,12 @@
{
self,
super,
root,
}: {pkgs, ...}: {
environment.systemPackages = with pkgs; [
localsend
];
networking.firewall.allowedTCPPorts = [53317];
networking.firewall.allowedUDPPorts = [53317];
}

View file

@ -0,0 +1,13 @@
{
networking.useNetworkd = true;
systemd.network = {
enable = true;
};
services.resolved = {
enable = true;
dnssec = "true";
domains = ["~."];
};
# TODO use networkd-dispatcher to do some things when network connectivity changes maybe
}

View file

@ -0,0 +1,12 @@
{
self,
super,
root,
}: {config, ...}: {
services.tailscale = {
enable = true;
openFirewall = true;
useRoutingFeatures = "client";
#authKeyFile = config.sops.secrets.tailscale-auth.path;
};
}

View file

@ -0,0 +1,5 @@
{
networking.wireless = {
iwd.enable = true;
};
}