Set up Microbin
This commit is contained in:
parent
42df5964f1
commit
28399165fc
@ -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" ];
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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
BIN
secrets/microbin.age
Normal file
Binary file not shown.
@ -21,4 +21,5 @@ in
|
||||
"acme-porkbun.age".publicKeys = [ zion ];
|
||||
"wallabag.age".publicKeys = [ zion ];
|
||||
"wallabag-postgres.age".publicKeys = [ zion ];
|
||||
"microbin.age".publicKeys = [ zion ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user