Add pangolin module
This commit is contained in:
parent
24cf657f9c
commit
7adb75ed32
1 changed files with 43 additions and 0 deletions
43
modules/pangolin.nix
Normal file
43
modules/pangolin.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
pkgs-unstable,
|
||||
...
|
||||
}: {
|
||||
|
||||
services = {
|
||||
pangolin = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.fosrl-pangolin;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
app = {
|
||||
save_logs = true;
|
||||
log_failed_attempts = true;
|
||||
};
|
||||
domains = {
|
||||
domain1 = {
|
||||
prefer_wildcard_cert = true;
|
||||
};
|
||||
};
|
||||
flags = {
|
||||
disable_signup_without_invite = true;
|
||||
disable_user_create_org = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
# Settings needed on the host
|
||||
#
|
||||
# services = {
|
||||
# pangolin = {
|
||||
# dnsProvider = "";
|
||||
# baseDomain = "";
|
||||
# letsEncryptEmail = "";
|
||||
# environmentFile = config.age.secrets."".path;
|
||||
# };
|
||||
# traefik = {
|
||||
# environmentFiles = [ config.age.secrets."".path ];
|
||||
# };
|
||||
# };
|
||||
Loading…
Add table
Add a link
Reference in a new issue