summaryrefslogtreecommitdiffstats
path: root/machines/jormungand/cryptpad.nix
blob: 32ae0a186cecdc277b4206a99b9f788bd1333c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, pkgs, ... }:

{
  # Node 12 is deprecated and flagged insecure... allow for a bit until
  # https://github.com/rvl/bower2nix/pull/22 or https://github.com/xwiki-labs/cryptpad/issues/295 moves

  nixpkgs.config.permittedInsecurePackages = [
    "nodejs-12.22.12"
  ];

  services.cryptpad = {
    enable = true;
    configFile = ./cryptpad.config.js;
  };
}