summaryrefslogtreecommitdiffstats
path: root/lass/2configs/paste.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-05-16 19:32:49 +0200
committertv <tv@krebsco.de>2023-05-16 19:32:49 +0200
commit56cff01ac49351e4a80a6003e96393922026f0ad (patch)
tree94c85c4e59028a3b41ff83c2fad05782bae551e0 /lass/2configs/paste.nix
parente3c8492f30a2c73acfb43478d8ceb8c38d7fa777 (diff)
parentdf09f8293f326235d417ec750edf05298ba468de (diff)
Merge remote-tracking branch 'orange/master'
Diffstat (limited to 'lass/2configs/paste.nix')
-rw-r--r--lass/2configs/paste.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/lass/2configs/paste.nix b/lass/2configs/paste.nix
index cfd7f557..87768a45 100644
--- a/lass/2configs/paste.nix
+++ b/lass/2configs/paste.nix
@@ -82,14 +82,9 @@ with import <stockholm/lib>;
krebs.htgen.paste = {
port = 9081;
- script = toString [
- "PATH=${makeBinPath [
- pkgs.nix
- pkgs.file
- ]}:$PATH"
- "STATEDIR=$HOME"
- ". ${pkgs.htgen}/examples/paste"
- ];
+ script = /* sh */ ''
+ (. ${pkgs.htgen-paste}/bin/htgen-paste)
+ '';
};
systemd.services.paste-gc = {