From f0d272038f2fe30204c970c3684c4901feae5560 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 4 May 2025 01:36:11 +0100 Subject: [PATCH] Refactor --- hosts/nixedo/configuration.nix | 1 + hosts/nixedo/homelab.nix | 6 ------ hosts/nixedo/services/default.nix | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hosts/nixedo/configuration.nix b/hosts/nixedo/configuration.nix index 36051781..880239e4 100644 --- a/hosts/nixedo/configuration.nix +++ b/hosts/nixedo/configuration.nix @@ -10,6 +10,7 @@ ./hardware-configuration.nix ./homelab.nix ./modules + ./ports.nix ./secrets.nix ./services diff --git a/hosts/nixedo/homelab.nix b/hosts/nixedo/homelab.nix index 837e968a..66cec2cb 100644 --- a/hosts/nixedo/homelab.nix +++ b/hosts/nixedo/homelab.nix @@ -1,10 +1,4 @@ { - imports = [ ./ports.nix ]; - - services = { - postgresqlBackup.enable = true; - }; - homelab = { enable = true; diff --git a/hosts/nixedo/services/default.nix b/hosts/nixedo/services/default.nix index 4c24566a..0737cd55 100644 --- a/hosts/nixedo/services/default.nix +++ b/hosts/nixedo/services/default.nix @@ -14,6 +14,7 @@ ]; services = { + postgresqlBackup.enable = true; tailscale.enable = true; };