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 config = {
5 networking.firewall.allowedTCPPortRanges = [
6 { from = 3000; to = 3999; }
7 { from = 8000; to = 8999; }
8 ];
9 networking.firewall.allowedUDPPortRanges = [
10 { from = 3000; to = 3999; }
11 { from = 8000; to = 8999; }
12 ];
13 networking.firewall.allowedTCPPorts = [
14 22
15 80
16 443
17 ];
18 networking.firewall.allowedUDPPorts = [
19 22
20 80
21 443
22 ];
23 };
24}