mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
cleaning
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{
|
||||
imports = [
|
||||
../software/beets
|
||||
../services/node-red.nix
|
||||
./node-red.nix
|
||||
./uptime-kuma.nix
|
||||
./calibre-web.nix
|
||||
./immich.nix
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 -"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user