alpine: many changes
- updates - snapserver - graphana dashboards - loki - ddclient - arr suite, jellyseer - mautrix fixes
This commit is contained in:
parent
d1772cb4be
commit
123e7088f5
58 changed files with 2136 additions and 735 deletions
|
|
@ -59,13 +59,11 @@ in {
|
|||
fsType = "fuse.mergerfs";
|
||||
depends = ["/mnt/disk1" "/mnt/disk2" "/mnt/disk3"];
|
||||
options = [
|
||||
"direct_io"
|
||||
"use_ino"
|
||||
"allow_other"
|
||||
"minfreespace=50G"
|
||||
"fsname=mergerfs"
|
||||
"category.create=mfs"
|
||||
"func.mkdir=epall"
|
||||
"cache.files=auto-all"
|
||||
"dropcacheonclose=true"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -113,9 +111,13 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -136,18 +138,11 @@ in {
|
|||
globalRedirect = "tristans.cloud";
|
||||
};
|
||||
"tristans.cloud" = {
|
||||
default = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "/srv/www/tristans.cloud";
|
||||
};
|
||||
"auth.tristans.cloud" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."~" = {
|
||||
proxyPass = "http://localhost:8084";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
security.acme = {
|
||||
|
|
@ -155,14 +150,15 @@ in {
|
|||
defaults.email = "tristan@tristans.cloud";
|
||||
};
|
||||
|
||||
sops.secrets."namecheap" = {};
|
||||
services.ddclient = {
|
||||
# enable = true;
|
||||
protocol = "duckdns";
|
||||
use = "if, if=enp4s0";
|
||||
ssl = true;
|
||||
username = "";
|
||||
passwordFile = "/home/tristan/duckdnstoken";
|
||||
domains = ["tlbean"];
|
||||
enable = true;
|
||||
protocol = "namecheap";
|
||||
usev4 = "webv4, webv4=ipify-ipv4";
|
||||
usev6 = "";
|
||||
username = "tristans.cloud";
|
||||
passwordFile = config.sops.secrets."namecheap".path;
|
||||
domains = ["@" "*"];
|
||||
};
|
||||
|
||||
services.mpd = {
|
||||
|
|
@ -172,4 +168,7 @@ in {
|
|||
services.grafana.settings.server = {
|
||||
http_port = 3001; # forgejo and grafana default to 3000
|
||||
};
|
||||
|
||||
systemd.services.NetworkManager-wait-online.enable = false;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue