mirror of
https://github.com/oqyude/nixos.git
synced 2026-10-07 20:47:14 +03:00
29 lines
414 B
Nix
29 lines
414 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
xlib,
|
|
inputs,
|
|
...
|
|
}:
|
|
let
|
|
storage = xlib.helpers.mkServiceStorage {
|
|
name = "n8n";
|
|
user = "nobody";
|
|
group = "nogroup";
|
|
};
|
|
in
|
|
{
|
|
services.n8n = {
|
|
enable = false;
|
|
environment = {
|
|
# N8N_USER_FOLDER = lib.mkForce "${sourceDir}";
|
|
N8N_SECURE_COOKIE = "false";
|
|
N8N_PORT = 5678;
|
|
};
|
|
openFirewall = true;
|
|
};
|
|
|
|
systemd = storage.systemd;
|
|
}
|