NixOS + home-manager configs, mirrored from GitLab SaaS.
gitlab.com/andreijiroh-dev/nixops-config
nix-flake
nixos
home-manager
nixpkgs
nix-flakes
1{ config, pkgs, lib, ... }:
2
3{
4 networking.firewall.allowedTCPPortRanges = [
5 { from = 3000; to = 3999; }
6 { from = 8000; to = 8999; }
7 ];
8 networking.firewall.allowedUDPPortRanges = [
9 { from = 3000; to = 3999; }
10 { from = 8000; to = 8999; }
11 ];
12 networking.firewall.allowedTCPPorts = [
13 22
14 80
15 443
16 ];
17 networking.firewall.allowedUDPPorts = [
18 22
19 80
20 443
21 ];
22}