diff --git a/hosts/tohru/hardware-configuration.nix b/hosts/tohru/hardware-configuration.nix index 95d3991..d42b1de 100644 --- a/hosts/tohru/hardware-configuration.nix +++ b/hosts/tohru/hardware-configuration.nix @@ -8,7 +8,7 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -39,7 +39,24 @@ options = [ "fmask=0022" "dmask=0022" ]; }; - swapDevices = [ ]; + fileSystems."/data" = + { device = "rpool/data"; + fsType = "zfs"; + }; + + fileSystems."/data/steam" = + { device = "rpool/data/steam"; + fsType = "zfs"; + }; + + fileSystems."/config" = + { device = "rpool/config"; + fsType = "zfs"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/a066313e-2467-4e07-ad0c-aeb7ff3f8d97"; } + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's