mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 03:29:20 +00:00
yuh
This commit is contained in:
parent
7789097c17
commit
fedd077861
6 changed files with 220 additions and 11 deletions
|
|
@ -16,7 +16,12 @@ in {
|
|||
"/media" = {
|
||||
path = "/var/lib/media/library";
|
||||
access = {
|
||||
r = "*";
|
||||
rw = ["c"];
|
||||
};
|
||||
};
|
||||
"/paperless" = {
|
||||
path = "/var/lib/media/library";
|
||||
access = {
|
||||
rw = ["c"];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
./quassel.nix
|
||||
./fail2ban.nix
|
||||
./containers.nix
|
||||
./n8n.nix
|
||||
./networking.nix
|
||||
./nocodb.nix
|
||||
./ssh.nix
|
||||
./media.nix
|
||||
./headscale.nix
|
||||
|
|
|
|||
18
hosts/hermes/n8n.nix
Normal file
18
hosts/hermes/n8n.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{pkgs, ...}: let
|
||||
domain = "automation.cleslie.uk";
|
||||
in {
|
||||
services = {
|
||||
cloudflare-dyndns.domains = [domain];
|
||||
n8n = {
|
||||
enable = true;
|
||||
webhookUrl = "https://" + domain + "/";
|
||||
settings = {
|
||||
port = 5678;
|
||||
};
|
||||
};
|
||||
caddy.virtualHosts.${domain}.extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:5678
|
||||
'';
|
||||
};
|
||||
environment.systemPackages = with pkgs; [mupdf-headless];
|
||||
}
|
||||
18
hosts/hermes/nocodb.nix
Normal file
18
hosts/hermes/nocodb.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
_: let
|
||||
domain = "hub.cleslie.uk";
|
||||
in {
|
||||
services = {
|
||||
cloudflare-dyndns.domains = [domain];
|
||||
nocodb = {
|
||||
enable = true;
|
||||
environment = {
|
||||
NC_PUBLIC_URL = "https://" + domain;
|
||||
#NC_INVITE_ONLY_SIGNUP = 1;
|
||||
PORT = "4690";
|
||||
};
|
||||
};
|
||||
caddy.virtualHosts.${domain}.extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:4690
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue