This commit is contained in:
iFargle 2024-01-12 10:41:04 +09:00
parent a2a75832f4
commit 8d3e013cfd
2 changed files with 3 additions and 2 deletions

View file

@ -57,7 +57,7 @@
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; }; libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; };
in { in {
nixosConfigurations = { nixosConfigurations = {
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small"; }; osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; };
framework-server = libx.mkHost { hostname = "framework-server"; }; framework-server = libx.mkHost { hostname = "framework-server"; };
nuc-server = libx.mkHost { hostname = "nuc-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; };
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "hyprland"; gpu = "nvidia"; theme = "tokyo-night"; }; nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "hyprland"; gpu = "nvidia"; theme = "tokyo-night"; };

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
networking = { networking = {
firewall = { firewall = {
enable = true;
allowedTCPPorts = [ allowedTCPPorts = [
80 # HTTP 80 # HTTP
443 # HTTPS 443 # HTTPS
@ -18,7 +19,7 @@
3478 # Headscale DERP (udp) 3478 # Headscale DERP (udp)
10000 # Jitsi Meet (udp) 10000 # Jitsi Meet (udp)
]; ];
}; };d
nftables = { nftables = {
enable = true; enable = true;