Set up Microbin

This commit is contained in:
coolneng 2025-04-29 14:27:02 +02:00
parent 42df5964f1
commit 28399165fc
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
5 changed files with 19 additions and 0 deletions

View File

@ -228,6 +228,11 @@ with pkgs;
};
secrets.wallabag.file = secrets/wallabag.age;
secrets.wallabag-postgres.file = secrets/wallabag-postgres.age;
secrets.microbin = {
file = secrets/microbin.age;
owner = "63026";
group = "63026";
};
identityPaths = [ "/etc/ssh/id_ed25519" ];
};

View File

@ -12,7 +12,15 @@
adminCredentialsFile = config.age.secrets.miniflux.path;
};
# Microbin configuration
services.microbin = {
enable = true;
passwordFile = config.age.secrets.microbin.path;
settings = {
MICROBIN_PORT = 9091;
MICROBIN_PUBLIC_PATH = "https://bin.psydnd.org";
MICROBIN_QR = true;
MICROBIN_WIDE = true;
};
};

View File

@ -171,6 +171,11 @@
forceSSL = true;
locations."/".proxyPass = "http://localhost:9090/";
};
"bin.psydnd.org" = {
useACMEHost = "psydnd.org";
forceSSL = true;
locations."/".proxyPass = "http://localhost:9091/";
};
};
};

BIN
secrets/microbin.age Normal file

Binary file not shown.

View File

@ -21,4 +21,5 @@ in
"acme-porkbun.age".publicKeys = [ zion ];
"wallabag.age".publicKeys = [ zion ];
"wallabag-postgres.age".publicKeys = [ zion ];
"microbin.age".publicKeys = [ zion ];
}