From a595a3943d2832bb32c869ab86089e31043e051b Mon Sep 17 00:00:00 2001 From: tomoron Date: Sat, 4 Jan 2025 22:56:46 +0100 Subject: [PATCH] add zfs to server config --- hosts/server.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/server.nix b/hosts/server.nix index e932ad3..f73567a 100644 --- a/hosts/server.nix +++ b/hosts/server.nix @@ -11,6 +11,11 @@ networking.hostName = "server"; services.openssh.enable = true; + environment.systemPackages = with pkgs; [ + zfs + ]; + boot.supportedFilesystems = [ "zfs" ]; + networking.firewall.allowedTCPPorts = [80 443 5000 8083]; networking.firewall.allowedUDPPorts = [80 443 5000 8083]; @@ -21,6 +26,7 @@ } ]; defaultGateway = "192.168.1.254"; nameservers = ["8.8.8.8" "8.8.4.4" "1.1.1.1"]; + hostId = "68290da7"; }; virtualisation.docker.liveRestore = false; virtualisation.docker.enableOnBoot = true;