From 8d3e013cfd20394642acd7f986c57f937b2502a3 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 12 Jan 2024 10:41:04 +0900 Subject: [PATCH] test --- flake.nix | 2 +- nixos/hosts/osaka-linode-01/firewall.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 2f03f213..c723800d 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; }; in { 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"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; }; nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "hyprland"; gpu = "nvidia"; theme = "tokyo-night"; }; diff --git a/nixos/hosts/osaka-linode-01/firewall.nix b/nixos/hosts/osaka-linode-01/firewall.nix index 2dc43b47..996e97cc 100644 --- a/nixos/hosts/osaka-linode-01/firewall.nix +++ b/nixos/hosts/osaka-linode-01/firewall.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, ... }: { networking = { firewall = { + enable = true; allowedTCPPorts = [ 80 # HTTP 443 # HTTPS @@ -18,7 +19,7 @@ 3478 # Headscale DERP (udp) 10000 # Jitsi Meet (udp) ]; - }; + };d nftables = { enable = true;