about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-10 17:48:26 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-10 17:48:26 -0700
commit90c41f7edb323e13e78d8ec976ee6467b0c807aa (patch)
tree3effb8452331b742cd3081ed657de57439e677d5 /hosts
parentmodules/unifi: fix the configuration (diff)
downloadworld-90c41f7edb323e13e78d8ec976ee6467b0c807aa.tar.gz
profiles/unifi: move the module to a profile
Get rid of configuration that was duplicated (a lot of things are
already handled by the upstream module).
Diffstat (limited to 'hosts')
-rw-r--r--hosts/tahoe/default.nix1
-rw-r--r--hosts/tahoe/services.nix5
2 files changed, 1 insertions, 5 deletions
diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix
index aacc41a..4a5e054 100644
--- a/hosts/tahoe/default.nix
+++ b/hosts/tahoe/default.nix
@@ -12,6 +12,7 @@ in
     "${self}/profiles/nas.nix"
     "${self}/profiles/acme.nix"
     "${self}/profiles/nginx.nix"
+    "${self}/profiles/unifi.nix"
     "${self}/profiles/hardware/amd.nix"
   ];
 
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index b510463..b684275 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -16,11 +16,6 @@ in
       vhostName = "music.${config.homelab.domain}";
       musicFolder = "/data/fast/music";
     };
-    unifi = {
-      enable = true;
-      vhostName = "unifi.${config.homelab.domain}";
-    };
-
     monitoring = {
       prometheus = {
         enable = true;