Compare commits
2 Commits
166a8d03e6
...
3fefe23179
Author | SHA1 | Date |
---|---|---|
pegasust | 3fefe23179 | |
pegasust | 3cc43147d8 |
|
@ -36,7 +36,21 @@
|
|||
address = "71.0.0.1";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
firewall.enable = false;
|
||||
firewall = {
|
||||
enable = true;
|
||||
# Also wishing for nix-lsp to be a bit better here
|
||||
# A man can only pray and cry
|
||||
# How would we add such functionality to nix-lsp if nix is
|
||||
# inherently lazy?
|
||||
#
|
||||
# Can use the schema, maybe?
|
||||
#
|
||||
# Also wishing on the ability for services to declare their
|
||||
# own ports now
|
||||
#
|
||||
# Maybe write a mkService?
|
||||
allowedTCPPorts = [80 443];
|
||||
};
|
||||
useDHCP = false;
|
||||
interfaces.eth0.useDHCP = true;
|
||||
};
|
||||
|
@ -59,7 +73,7 @@
|
|||
};
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
clientMaxBodySize = "100m";
|
||||
clientMaxBodySize = "100m"; # Allow big file transfers over git :^)
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
|
|
Loading…
Reference in New Issue