viola: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
bcb7f2dcb0
commit
793b14918a
34 changed files with 1320 additions and 326 deletions
18
viola/services/microbin.nix
Normal file
18
viola/services/microbin.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{config, ...}: {
|
||||
services = {
|
||||
microbin = {
|
||||
enable = true;
|
||||
passwordFile = toString config.sops.secrets.microbinPass;
|
||||
settings = {
|
||||
MICROBIN_PORT = 8080;
|
||||
MICROBIN_BIND = "[::]";
|
||||
MICROBIN_PUBLIC_PATH = "bin.hand7s.org";
|
||||
MICROBIN_READONLY = true;
|
||||
MICROBIN_ENABLE_BURN_AFTER = true;
|
||||
MICROBIN_DEFAULT_BURN_AFTER = 100;
|
||||
MICROBIN_DEFAULT_EXPIRY = "1week";
|
||||
MICROBIN_QR = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue