summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
Diffstat (limited to 'lass')
-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 cfd7f5576..87768a452 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 = {