diff options
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -64,6 +64,8 @@ in { | |||
64 | 5269 # xmpp.s2s | 64 | 5269 # xmpp.s2s |
65 | 655 # tinc.yggdrasil | 65 | 655 # tinc.yggdrasil |
66 | 656 # tinc.laeradhr | 66 | 656 # tinc.laeradhr |
67 | 80 # http | ||
68 | 443 # https | ||
67 | ]; | 69 | ]; |
68 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh | 70 | allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh |
69 | ]; | 71 | ]; |
@@ -88,10 +90,8 @@ in { | |||
88 | }; | 90 | }; |
89 | 91 | ||
90 | nix.binaryCaches = [ "https://cache.nixos.org/" | 92 | nix.binaryCaches = [ "https://cache.nixos.org/" |
91 | "https://hydra.nixos.org/" | ||
92 | ]; | 93 | ]; |
93 | nix.binaryCachePublicKeys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" | 94 | nix.binaryCachePublicKeys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" |
94 | "hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" | ||
95 | ]; | 95 | ]; |
96 | 96 | ||
97 | # List services that you want to enable: | 97 | # List services that you want to enable: |
@@ -164,4 +164,9 @@ in { | |||
164 | ip4 = [ { address = "10.142.0.3"; prefixLength = 16; } ]; | 164 | ip4 = [ { address = "10.142.0.3"; prefixLength = 16; } ]; |
165 | }; | 165 | }; |
166 | }); | 166 | }); |
167 | |||
168 | services.nginx = { | ||
169 | enable = true; | ||
170 | httpConfig = builtins.readFile ./custom/ymir.nginx; | ||
171 | }; | ||
167 | } | 172 | } |