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




              
                                                                           


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

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

  boot = {
    kernelModules = ["rtw89"];
    kernelPackages = pkgs.linuxPackages_6_2; # use this kernel, as it's supported by zfs
    zfs.enableUnstable = true; # Default zfs is "broken" (to nixos) on the newest kernel
  };
}