add firewall rule
This commit is contained in:
parent
8ba21ec498
commit
3958b1891c
2 changed files with 12 additions and 34 deletions
|
|
@ -25,38 +25,4 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# security.acme.certs."${domain}" = {
|
||||
# domain = "${domain}";
|
||||
# };
|
||||
|
||||
# containers.omada = {
|
||||
# autoStart = true;
|
||||
# ephemeral = true;
|
||||
# macvlans = [ "vserver" ];
|
||||
# bindMounts = {
|
||||
# "/var/lib/gitea" = {
|
||||
# hostPath = "/var/lib/gitea/";
|
||||
# isReadOnly = false;
|
||||
# };
|
||||
# };
|
||||
# bindMounts = {
|
||||
# "/var/lib/acme/gitea/" = {
|
||||
# hostPath = "${config.security.acme.certs.${domain}.directory}";
|
||||
# isReadOnly = true;
|
||||
# };
|
||||
# };
|
||||
# config = { lib, config, pkgs, ... }: {
|
||||
# networking = {
|
||||
# hostName = "gitea";
|
||||
# interfaces.mv-vserver = {
|
||||
# useDHCP = true;
|
||||
# };
|
||||
# firewall = {
|
||||
# enable = true;
|
||||
# allowedTCPPorts = [ 22 80 443 ];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue