m3-atlas: n8n - nixos, ghost update
This commit is contained in:
parent
9b6e6a6992
commit
01a2cbc808
6
flake.lock
generated
6
flake.lock
generated
@ -255,11 +255,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744700942,
|
"lastModified": 1744703824,
|
||||||
"narHash": "sha256-86WB18bzMNSgNOvVYFdaKP7wc310oyunwBUgROCJuBU=",
|
"narHash": "sha256-scv7M9HrjqtE5u7Zf8CUnq0HRi4cdZBaVitZPA/iXGA=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e0d95e12d46914e0d5a35807b780e23dca21bdf3",
|
"rev": "8852da7e72ef9f41684d83925c2f428b06587a29",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -41,17 +41,6 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
obs-studio = {
|
|
||||||
enable = true;
|
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
|
||||||
obs-composite-blur
|
|
||||||
obs-vaapi
|
|
||||||
obs-vertical-canvas
|
|
||||||
obs-vkcapture
|
|
||||||
obs-webkitgtk
|
|
||||||
wlrobs
|
|
||||||
];
|
|
||||||
};
|
|
||||||
mpv = {
|
mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
bindings = {
|
bindings = {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
./ghost.nix
|
./ghost.nix
|
||||||
./littlelink.nix
|
./littlelink.nix
|
||||||
./matomo.nix
|
./matomo.nix
|
||||||
./n8n.nix
|
# ./n8n.nix
|
||||||
# ./pangolin.nix
|
# ./pangolin.nix
|
||||||
./restreamer.nix
|
./restreamer.nix
|
||||||
./slash.nix
|
./slash.nix
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
virtualisation.oci-containers.containers."ghost" = {
|
virtualisation.oci-containers.containers."ghost" = {
|
||||||
image = "docker.io/ghost:5.106.1";
|
image = "docker.io/ghost:latest";
|
||||||
environmentFiles = [config.age.secrets.ghost-env.path];
|
environmentFiles = [config.age.secrets.ghost-env.path];
|
||||||
ports = ["127.0.0.1:3002:2368"];
|
ports = ["127.0.0.1:3002:2368"];
|
||||||
volumes = ["ghost_data:/var/lib/ghost/content"];
|
volumes = ["ghost_data:/var/lib/ghost/content"];
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
./headscale.nix
|
./headscale.nix
|
||||||
./minio.nix
|
./minio.nix
|
||||||
./mysql.nix
|
./mysql.nix
|
||||||
|
./n8n.nix
|
||||||
./postgres.nix
|
./postgres.nix
|
||||||
./searx.nix
|
./searx.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
|
24
hosts/m3-atlas/services/n8n.nix
Normal file
24
hosts/m3-atlas/services/n8n.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
services.n8n = {
|
||||||
|
enable = true;
|
||||||
|
webhookUrl = "https://wf.m3tam3re.com";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Traefik configuration specific to n8n
|
||||||
|
services.traefik.dynamicConfigOptions.http = {
|
||||||
|
services.n8n.loadBalancer.servers = [
|
||||||
|
{
|
||||||
|
url = "http://localhost:5678/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
routers.n8n = {
|
||||||
|
rule = "Host(`wf.m3tam3re.com`)";
|
||||||
|
tls = {
|
||||||
|
certResolver = "godaddy";
|
||||||
|
};
|
||||||
|
service = "n8n";
|
||||||
|
entrypoints = "websecure";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -20,6 +20,18 @@
|
|||||||
dedicatedServer.openFirewall = true;
|
dedicatedServer.openFirewall = true;
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
};
|
};
|
||||||
|
programs.obs-studio = {
|
||||||
|
enable = true;
|
||||||
|
enableVirtualCamera = true;
|
||||||
|
plugins = with pkgs.obs-studio-plugins; [
|
||||||
|
obs-composite-blur
|
||||||
|
obs-vaapi
|
||||||
|
obs-vertical-canvas
|
||||||
|
obs-vkcapture
|
||||||
|
obs-webkitgtk
|
||||||
|
wlrobs
|
||||||
|
];
|
||||||
|
};
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
programs.thunar = {
|
programs.thunar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user