This commit is contained in:
2025-10-07 10:28:31 +03:00
parent cbb7e9210b
commit 786327f6d2
5 changed files with 4 additions and 22 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
{
imports = [
../software/beets
../services/node-red.nix
./node-red.nix
./uptime-kuma.nix
./calibre-web.nix
./immich.nix
-4
View File
@@ -7,10 +7,6 @@
...
}:
let
stable = import inputs.nixpkgs-stable {
system = "x86_64-linux";
config.allowUnfree = true;
};
work = import inputs.nixpkgs-stable {
system = "x86_64-linux";
config.allowUnfree = true;
+21
View File
@@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
xlib,
inputs,
...
}:
{
services.node-red = {
enable = false;
port = 1880;
openFirewall = true;
userDir = "${xlib.dirs.services-mnt-folder}/node-red";
configFile = "${inputs.zeroq-credentials}/configs/node-red/settings.js";
};
systemd.tmpfiles.rules = [
"z ${config.services.node-red.userDir} 0750 node-red node-red -"
];
}