From f0ee5da847e785a04bd6c0b6def72b3094a299e4 Mon Sep 17 00:00:00 2001 From: Nettika Date: Sun, 14 Jul 2024 18:42:30 -0700 Subject: [PATCH] Configure library ZFS Pool --- monolith/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/monolith/default.nix b/monolith/default.nix index 2ac8c25..d2bded6 100755 --- a/monolith/default.nix +++ b/monolith/default.nix @@ -1,6 +1,7 @@ -{ ... }: { +{ pkgs, ... }: { networking = { hostName = "monolith"; + hostId = "44551c32"; networkmanager.enable = true; }; @@ -14,6 +15,10 @@ fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; + "/library" = { + device = "library"; + fsType = "zfs"; + }; }; boot = { @@ -23,6 +28,7 @@ }; initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; kernelModules = [ "kvm-amd" ]; + supportedFilesystems = [ "zfs" ]; }; users.users = {