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 = {
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 = {