reinstalled homeassistant as oci container
This commit is contained in:
18
flake.lock
generated
18
flake.lock
generated
@@ -1244,11 +1244,11 @@
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-Hripi5dnBGegbRPwCt1+a3oH6b1AQxEoJXodiLE8KKw=",
|
||||
"path": "/nix/store/7as6frhriqca7a04y6qlg884cb45xj71-source/home-manager",
|
||||
"path": "/nix/store/47vjafbwqsg8sw0dvm6jldpfns8s9p83-source/home-manager",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/7as6frhriqca7a04y6qlg884cb45xj71-source/home-manager",
|
||||
"path": "/nix/store/47vjafbwqsg8sw0dvm6jldpfns8s9p83-source/home-manager",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
@@ -1836,11 +1836,11 @@
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-QahOuoQdXshu38W5uO7hLhG/yFkT7S2l8Dxicq0wdGk=",
|
||||
"path": "/nix/store/knc49ci8cp75177wlx99z35lgsrxfgcm-source/programs",
|
||||
"path": "/nix/store/cx67a4yaf78kbha7jyk1dqax1mjf059s-source/programs",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/knc49ci8cp75177wlx99z35lgsrxfgcm-source/programs",
|
||||
"path": "/nix/store/cx67a4yaf78kbha7jyk1dqax1mjf059s-source/programs",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
@@ -1909,11 +1909,11 @@
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-0Ztx5DVQ2I7hvCK/qjGa4XTdRgbzM8rhf19m0al8lVM=",
|
||||
"path": "/nix/store/knc49ci8cp75177wlx99z35lgsrxfgcm-source/services/sddm",
|
||||
"path": "/nix/store/cx67a4yaf78kbha7jyk1dqax1mjf059s-source/services/sddm",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/knc49ci8cp75177wlx99z35lgsrxfgcm-source/services/sddm",
|
||||
"path": "/nix/store/cx67a4yaf78kbha7jyk1dqax1mjf059s-source/services/sddm",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
@@ -1944,12 +1944,12 @@
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-3/fqVrpyXItqSHfYomdottne6Q2q+0dPCGk8JZeEQ0k=",
|
||||
"path": "/nix/store/7as6frhriqca7a04y6qlg884cb45xj71-source/system-config",
|
||||
"narHash": "sha256-w0f7+T976ewz6ok9CZ7Mj5bbVn3Jwh9N0a7//1CKBjk=",
|
||||
"path": "/nix/store/47vjafbwqsg8sw0dvm6jldpfns8s9p83-source/system-config",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/7as6frhriqca7a04y6qlg884cb45xj71-source/system-config",
|
||||
"path": "/nix/store/47vjafbwqsg8sw0dvm6jldpfns8s9p83-source/system-config",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -262,7 +262,7 @@
|
||||
|
||||
gitlab.enable = true;
|
||||
|
||||
homeassistant.enable = false;
|
||||
homeassistant.enable = true;
|
||||
|
||||
ntfy.enable = true;
|
||||
};
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
containers.homeassistant = {
|
||||
autoStart = true;
|
||||
ports = [ "8123:8123" ];
|
||||
volumes = [
|
||||
"/ssd1/Home-Assistant/data:/config"
|
||||
"/run/dbus:/run/dbus:ro"
|
||||
|
||||
@@ -147,9 +147,9 @@
|
||||
tls.certResolver = "cloudflare";
|
||||
};
|
||||
homeassistant = {
|
||||
entryPoints = [ "localsecure" "websecure" ];
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`hass.blunkall.us`)";
|
||||
service = "homepage";
|
||||
service = "homeassistant";
|
||||
tls.certResolver = "cloudflare";
|
||||
};
|
||||
jellyfin = {
|
||||
@@ -248,6 +248,8 @@
|
||||
nextcloud.loadBalancer.servers = [ { url = "http://192.168.100.15:80"; } ];
|
||||
|
||||
ntfy.loadBalancer.servers = [ { url = "http://192.168.100.19"; } ];
|
||||
|
||||
homeassistant.loadBalancer.servers = [ { url = "http://192.168.100.10:8123"; } ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user