ctucx.git: nixfiles

ctucx' nixfiles

commit de13c8eea58b87fa46d57d7453c2b641af2573b9
parent bfe2d67c36548002779b306d62c118dff587365b
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 28 Apr 2022 14:34:28 +0200

machines/osterei/matrix-synapse: use schildichat-web from unstable nixpkgs
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/machines/osterei/matrix-synapse.nix b/machines/osterei/matrix-synapse.nix
@@ -1,7 +1,8 @@
 { config, lib, pkgs, ... }:
 
 let
-  secrets  = import ../../secrets;
+  secrets      = import ../../secrets;
+  pkgsUnstable = import <nixpkgsUnstable> {};
 
 in {
 

@@ -78,7 +79,7 @@ in {
             "/".root             = pkgs.buildEnv {
               name  = "schildichat-web-env";
               paths = [
-                pkgs.schildichat-web
+                pkgsUnstable.schildichat-web
                 (lib.hiPrio (pkgs.writeTextDir "config.json" (builtins.toJSON {
                   brand               = "matrix.ctu.cx";
                   disable_guests      = true;