Configure library ZFS Pool

This commit is contained in:
2024-07-14 18:42:30 -07:00
parent 2cfb7893d0
commit f0ee5da847

View File

@@ -1,6 +1,7 @@
{ ... }: { { pkgs, ... }: {
networking = { networking = {
hostName = "monolith"; hostName = "monolith";
hostId = "44551c32";
networkmanager.enable = true; networkmanager.enable = true;
}; };
@@ -14,6 +15,10 @@
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };
"/library" = {
device = "library";
fsType = "zfs";
};
}; };
boot = { boot = {
@@ -23,6 +28,7 @@
}; };
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
kernelModules = [ "kvm-amd" ]; kernelModules = [ "kvm-amd" ];
supportedFilesystems = [ "zfs" ];
}; };
users.users = { users.users = {