summaryrefslogtreecommitdiff
path: root/common/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/default.nix')
-rw-r--r--common/default.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/common/default.nix b/common/default.nix
index 760bf5c..50aedf8 100644
--- a/common/default.nix
+++ b/common/default.nix
@@ -17,11 +17,17 @@
fonts.packages = with pkgs; [ nerd-fonts.sauce-code-pro ];
- networking.networkmanager = {
- enable = true;
- plugins = [
- pkgs.networkmanager-openconnect
- ];
+ networking = {
+ networkmanager = {
+ enable = true;
+ plugins = [
+ pkgs.networkmanager-openconnect
+ ];
+ };
+ firewall = rec {
+ allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
+ allowedUDPPortRanges = allowedTCPPortRanges;
+ };
};
time.timeZone = "Europe/Zurich";