use latest microbin for all the features
This commit is contained in:
parent
63a18c2bc3
commit
2368a1b6a6
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ self, config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
@ -45,7 +45,14 @@ in
|
||||||
after = [ "remote-fs.target" "network.target" ];
|
after = [ "remote-fs.target" "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.microbin}/bin/microbin -- --port ${builtins.toString cfg.port} --public-path ${cfg.hostname} --editable --enable-burn-after --private --qr --title=sealight --highlightsyntax";
|
ExecStart = "${pkgs.unstable.microbin}/bin/microbin --public-path ${cfg.hostname} --qr --enable-burn-after --private";
|
||||||
|
Environment = [
|
||||||
|
"MICROBIN_EDITABLE=true"
|
||||||
|
"MICROBIN_HIDE_FOOTER=true"
|
||||||
|
"MICROBIN_HIGHLIGHTSYNTAX=true"
|
||||||
|
"MICROBIN_PORT=${builtins.toString cfg.port}"
|
||||||
|
"MICROBIN_TITLE=SealightBin"
|
||||||
|
];
|
||||||
WorkingDirectory = dataFolder;
|
WorkingDirectory = dataFolder;
|
||||||
TimeoutStopSec = " 20 ";
|
TimeoutStopSec = " 20 ";
|
||||||
KillMode = " process ";
|
KillMode = " process ";
|
||||||
|
|
Loading…
Reference in a new issue