about summary refs log blame commit diff stats
path: root/hosts/_unmaintained/marduk/hardware/default.nix
blob: 4fed1d06301826dacc764cc09750eab782d7c7d2 (plain) (tree)
1
2
3
4
5
6
7
8
 




              
                                                                           


                                                      
          
                              
                                                                                                  
                                                                                        
                                                                                              
    
{
  lib,
  pkgs,
  modulesPath,
  ...
}: {
  imports = [
    (modulesPath + "/installer/cd-dvd/installation-cd-graphical-gnome.nix")
  ];

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

  boot = {
    kernelModules = ["rtw89"];
    # FIXME: The kernel version should probably be updated, considering that it's 6.1 <2024-03-23>
    kernelPackages = pkgs.linuxPackages_6_1; # use this kernel, as it's supported by zfs
    zfs.package = pkgs.zfs_unstable; # Default zfs is "broken" (to nixos) on the newest kernel
  };
}