diff --git a/hosts/x86_64-linux/installer.nix b/hosts/x86_64-linux/installer.nix index 6c8ffaf..9cb351d 100644 --- a/hosts/x86_64-linux/installer.nix +++ b/hosts/x86_64-linux/installer.nix @@ -33,12 +33,9 @@ in "${nixpkgs-flake}/nixos/modules/installer/cd-dvd/installation-cd-graphical-combined.nix" ]; - # This block copied from https://github.com/nix-community/nixos-images - boot.zfs.package = pkgs.zfsUnstable; - services.udev.packages = [ zfs ]; # to hook zvol naming, etc. - # unsure if need this, but in future udev rules could potentially point to systemd services. - systemd.packages = [ zfs ]; - environment.defaultPackages = lib.mkForce [ zfs ]; # this merges with outer noninteractive module. + # This block modified from https://github.com/nix-community/nixos-images + boot.zfs.package = zfs; + environment.defaultPackages = lib.mkForce [ zfs ]; boot.kernelModules = [ "zfs" ]; boot.extraModulePackages = [ config.boot.kernelPackages.zfs_unstable ]; boot.kernelPackages = lib.mkForce latestKernelPackage;