diff --git a/configuration.nix b/configuration.nix index 3fa81a8..610c9b8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -19,7 +19,6 @@ environment.systemPackages = with pkgs; [ raspberrypi-tools git - tmux htop vim ]; @@ -72,16 +71,6 @@ allowReboot = true; }; - # Enable zeroconf - services.avahi = { - enable = true; - nssmdns = true; - publish = { - enable = true; - userServices = true; - }; - }; - # Run Nix garbage collector daily nix.gc = { automatic = true; diff --git a/modules/devops.nix b/modules/devops.nix index 8a18228..0486421 100644 --- a/modules/devops.nix +++ b/modules/devops.nix @@ -20,8 +20,4 @@ dump.enable = true; appName = "Gitea"; }; - - # Restart nginx after startup - systemd.services.nginx.after = [ "gitea.service" ]; - } diff --git a/modules/networking.nix b/modules/networking.nix index d114dcb..58aaf7a 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -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 = { diff --git a/modules/webstack.nix b/modules/webstack.nix index fa7a3bd..3edbf39 100644 --- a/modules/webstack.nix +++ b/modules/webstack.nix @@ -133,4 +133,8 @@ }; }; + + # Restart nginx after + systemd.services.nginx.after = [ "gitea.service" "syncthing.service" "miniflux.service" ]; + }