Skip to content

Instantly share code, notes, and snippets.

@Profpatsch
Last active May 27, 2016 12:04
Show Gist options
  • Save Profpatsch/0e4b48697d812dfccadc727416604a01 to your computer and use it in GitHub Desktop.
Save Profpatsch/0e4b48697d812dfccadc727416604a01 to your computer and use it in GitHub Desktop.
nginx & acme bootstrapping nixos/modules/security/nginx-acme.nix
{ lib, config, ... }:
with lib;
{
config = mkIf (config.services.nginx.enable && config.services.acme.enable) {
system.activationScripts.acme-nginx = ''
echo I AM WORKING
'';
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment