fix : Stupid mode of thinking
This commit is contained in:
parent
8586884e4a
commit
a59e409a49
2 changed files with 3 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ let
|
|||
module.roundcube.enable = true;
|
||||
module.searxng.enable = true;
|
||||
module.acme.enable = true;
|
||||
module.newt.enable = true;
|
||||
services.newt.enable = true;
|
||||
module.forgejo.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
{config,lib, ... }:
|
||||
|
||||
lib.mkIf config.module.newt.enable{
|
||||
{
|
||||
services.newt = {
|
||||
enable = true;
|
||||
environmentFile = "/etc/newt.env";
|
||||
settings = {
|
||||
endpoint = "https://pangolin.wateir.fr";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
networking.firewall = lib.mkIf config.services.newt.enable {
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedUDPPorts = [ 51820 21820 ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue