nextcloud
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
{ config, lib, ... }: let
|
||||
|
||||
hostPort = 9003;
|
||||
|
||||
subdomain = "hass";
|
||||
|
||||
name = "home-assistant";
|
||||
@@ -14,12 +12,6 @@ in {
|
||||
};
|
||||
|
||||
config = lib.mkIf (config.sysconfig.docker.home-assistant.enable && config.sysconfig.docker.enable) {
|
||||
|
||||
networking.firewall.interfaces = {
|
||||
"ve-traefik" = {
|
||||
allowedTCPPorts = [ hostPort ];
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc."home-assistant/configuration.yaml".source = ./configuration.yaml;
|
||||
|
||||
@@ -51,7 +43,6 @@ in {
|
||||
};
|
||||
|
||||
ports = [
|
||||
"${builtins.toString hostPort}:8123"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
|
||||
Reference in New Issue
Block a user