use latest microbin for all the features

This commit is contained in:
Anish Lakhwara 2023-05-13 22:49:47 +10:00
parent 63a18c2bc3
commit 2368a1b6a6

View file

@ -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 ";