From caf056a584243fab9b3f10202a7002a9fc68528a Mon Sep 17 00:00:00 2001 From: yaroslav Date: Sat, 14 Jun 2025 12:34:05 +0300 Subject: [PATCH] fixed persistence for fprint and added usbip port to firewall --- hosts/generic/configuration_generic.nix | 2 +- hosts/generic/persistence.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/generic/configuration_generic.nix b/hosts/generic/configuration_generic.nix index 4512484..d3ba5fc 100644 --- a/hosts/generic/configuration_generic.nix +++ b/hosts/generic/configuration_generic.nix @@ -28,7 +28,7 @@ # networking networking.networkmanager.enable = true; - networking.firewall.allowedTCPPorts = [ 22 38401 ]; + networking.firewall.allowedTCPPorts = [ 22 3240 ]; networking.firewall.allowedUDPPorts = [ 38401 ]; networking.nftables.enable = true; networking.hosts = { diff --git a/hosts/generic/persistence.nix b/hosts/generic/persistence.nix index 6c50510..4418525 100644 --- a/hosts/generic/persistence.nix +++ b/hosts/generic/persistence.nix @@ -8,6 +8,7 @@ "/var/lib/nixos" "/var/lib/systemd/coredump" "/var/lib/systemd/timers" + "/var/lib/fprint" "/etc/NetworkManager" "/var/lib/sddm" "/etc/ssh"