{ 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; }; }