diff --git a/machine/backyard/hardware-configuration.nix b/machine/backyard/hardware-configuration.nix index 1690de4..e214c1c 100644 --- a/machine/backyard/hardware-configuration.nix +++ b/machine/backyard/hardware-configuration.nix @@ -8,7 +8,7 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -21,6 +21,37 @@ fileSystems."/boot" = { device = "/dev/disk/by-uuid/610F-1EB7"; fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + fileSystems."/pool/tvb" = + { device = "pool/user/tvb"; + fsType = "zfs"; + }; + + fileSystems."/pool/tvb/doc" = + { device = "pool/user/tvb/doc"; + fsType = "zfs"; + }; + + fileSystems."/pool/tvb/game" = + { device = "pool/user/tvb/game"; + fsType = "zfs"; + }; + + fileSystems."/pool/tvb/video" = + { device = "pool/user/tvb/video"; + fsType = "zfs"; + }; + + fileSystems."/pool/tvb/audio" = + { device = "pool/user/tvb/audio"; + fsType = "zfs"; + }; + + fileSystems."/pool/tvb/image" = + { device = "pool/user/tvb/image"; + fsType = "zfs"; }; swapDevices = @@ -33,6 +64,7 @@ # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.eno1.useDHCP = lib.mkDefault true; + # networking.interfaces.nebula.beatific.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;