diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 03:01:39 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 03:01:39 +0200 |
commit | 251c0a135a4153453030dc0e2c132e57934c0095 (patch) | |
tree | e7ab615568cdfe2526b508e483b2a6c6cad4350e /modules/private/websites/tools/tools/webhooks.nix | |
parent | c54f73c385dcdb7458759b36b62fa0e6895a30d7 (diff) | |
download | Nix-251c0a135a4153453030dc0e2c132e57934c0095.tar.gz Nix-251c0a135a4153453030dc0e2c132e57934c0095.tar.zst Nix-251c0a135a4153453030dc0e2c132e57934c0095.zip |
Migrate manual scripts from tools.immae.eu
Landing page
BIP39
ldap/myip scripts
webhooks
Diffstat (limited to 'modules/private/websites/tools/tools/webhooks.nix')
-rw-r--r-- | modules/private/websites/tools/tools/webhooks.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/private/websites/tools/tools/webhooks.nix b/modules/private/websites/tools/tools/webhooks.nix new file mode 100644 index 0000000..885b68b --- /dev/null +++ b/modules/private/websites/tools/tools/webhooks.nix | |||
@@ -0,0 +1,10 @@ | |||
1 | { lib, env }: | ||
2 | { | ||
3 | keys = lib.attrsets.mapAttrsToList (k: v: { | ||
4 | dest = "webapps/webhooks/${k}.php"; | ||
5 | user = "wwwrun"; | ||
6 | group = "wwwrun"; | ||
7 | permissions = "0400"; | ||
8 | text = v; | ||
9 | }) env; | ||
10 | } | ||