Merge branch 'alpine/master' into framework/master
This commit is contained in:
commit
01f1ee2c96
20 changed files with 472 additions and 134 deletions
|
|
@ -59,13 +59,10 @@ 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"
|
||||
"dropcacheonclose=true"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -113,9 +110,13 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -136,6 +137,7 @@ in {
|
|||
globalRedirect = "tristans.cloud";
|
||||
};
|
||||
"tristans.cloud" = {
|
||||
default = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "/srv/www/tristans.cloud";
|
||||
|
|
@ -147,14 +149,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 = {
|
||||
|
|
@ -164,4 +167,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