Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions projects-old/mCaptcha/default.nix

This file was deleted.

49 changes: 49 additions & 0 deletions projects/mCaptcha/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
lib,
pkgs,
sources,
}@args:

{
metadata = {
summary = "Privacy-friendly Proof of Work (PoW) based CAPTCHA system";
subgrants = [
"mCaptcha"
];
links = {
website = {
text = "Official website";
url = "https://mcaptcha.org/";
};
documentation = {
text = "Official documentation";
url = "https://mcaptcha.org/docs/";
};
};
};

nixos.modules.services = {
mcaptcha = {
name = "mcaptcha";
module = ./services/mcaptcha/module.nix;
examples.basic = null;
links = {
setup = {
text = "Development setup";
url = "https://github.com/mCaptcha/mCaptcha/blob/master/docs/HACKING.md";
};
deployment = {
text = "Deployment instructions";
url = "https://github.com/mCaptcha/mCaptcha/blob/master/docs/DEPLOYMENT.md";
};
configuration = {
text = "Configuration instructions";
url = "https://github.com/mCaptcha/mCaptcha/blob/master/docs/CONFIGURATION.md";
};
};
};
};

nixos.tests.bring-your-own-services = import ./services/mcaptcha/tests/bring-your-own-services.nix args;
nixos.tests.create-locally = import ./services/mcaptcha/tests/create-locally.nix args;
}