Skip to content

Commit

Permalink
add node-red to chopper
Browse files Browse the repository at this point in the history
  • Loading branch information
devusb committed Jan 21, 2024
1 parent 1763867 commit ec304a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion hosts/chopper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ in
./vault.nix
./monitoring.nix
./unifi.nix
./hass.nix
./homeassistant.nix
./frigate.nix
];

Expand Down Expand Up @@ -152,6 +152,7 @@ in
"pingshutdown.${wildcardDomain}" = mkVirtualHost 9081;
"frigate.${wildcardDomain}" = mkSocketVirtualHost "/run/nginx/frigate.sock";
"hass.${wildcardDomain}" = mkVirtualHost 8123;
"node-red.${wildcardDomain}" = mkVirtualHost 1880;
};
};

Expand Down
6 changes: 5 additions & 1 deletion hosts/chopper/hass.nix → hosts/chopper/homeassistant.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, lib, ... }: {
systemd.tmpfiles.settings."homeassistant"."/var/lib/homeassistant".d = {
mode = "0666";
};
Expand All @@ -14,4 +14,8 @@
};
};

services.node-red = {
enable = true;
};

}

0 comments on commit ec304a7

Please sign in to comment.