ctucx.git: nixfiles

ctucx' nixfiles

commit bfab665a42e675a5e470a96c18477284c122f922
parent 9d4fe397dbd458551a0d2bc15119447b9addf8a9
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 11 Sep 2022 15:45:50 +0200

machines/lollo/gotosocial: don't use binary-builds anymore
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/machines/lollo/gotosocial.nix b/machines/lollo/gotosocial.nix
@@ -1,7 +1,7 @@
 { config, pkgs, ... }:
 
 let
-  gotosocialbin = pkgs.callPackage ../../pkgs/gotosocial-bin.nix {};
+  gotosocial = pkgs.callPackage ../../pkgs/gotosocial {};
 
 in {
 

@@ -17,10 +17,10 @@ in {
 
   services.gotosocial = {
     enable  = true;
-    package = gotosocialbin;
+    package = gotosocial;
     config  = ''
-      web-template-base-dir: "../../../${gotosocialbin}/share/web/template/"
-      web-asset-base-dir: "../../../${gotosocialbin}/share/web/assets/"
+      web-template-base-dir: "${gotosocial}/share/template/"
+      web-asset-base-dir: "${gotosocial}/share/assets/"
 
       application-name: "ctucx.gts"