Move zeroconf section to networking
This commit is contained in:
@@ -20,8 +20,4 @@
|
||||
dump.enable = true;
|
||||
appName = "Gitea";
|
||||
};
|
||||
|
||||
# Restart nginx after startup
|
||||
systemd.services.nginx.after = [ "gitea.service" ];
|
||||
|
||||
}
|
||||
|
||||
@@ -5,9 +5,16 @@
|
||||
in
|
||||
{
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ddclient
|
||||
];
|
||||
# Enable zeroconf
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
publish = {
|
||||
enable = true;
|
||||
userServices = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Dynamic DNS configuration
|
||||
services.ddclient = {
|
||||
|
||||
@@ -133,4 +133,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Restart nginx after
|
||||
systemd.services.nginx.after = [ "gitea.service" "syncthing.service" "miniflux.service" ];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user