summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/codimd.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/lass/2configs/codimd.nix b/lass/2configs/codimd.nix
index 5f802148b..b2d44d135 100644
--- a/lass/2configs/codimd.nix
+++ b/lass/2configs/codimd.nix
@@ -1,7 +1,18 @@
-{ config, pkgs, ... }:
+{ config, pkgs, lib, ... }:
with import <stockholm/lib>;
+let
+
+ nixpkgs_pre_node_10_17 = import (pkgs.fetchFromGitHub {
+ owner = "nixos";
+ repo = "nixpkgs";
+ rev = "81f4c491afbc8f0fe994ef946b1ac61cf1261577";
+ sha256 = "0xvawrd9nq3ybvq2pdp5gyi8gygf0yimgp0bx1xggq6l8mvgrj71";
+ }) {};
+in {
+ nixpkgs.config.packageOverrides = pkgs: {
+ codimd = nixpkgs_pre_node_10_17.codimd;
+ };
-{
services.nginx.virtualHosts.codimd = {
enableACME = true;
addSSL = true;