about summary refs log blame commit diff stats
path: root/hosts/marduk/hardware/default.nix
blob: 726e27a1eb470213b61dacdedae64f0afa93877e (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"];
    kernelPackages = pkgs.linuxPackages_6_1; # use this kernel, as it's supported by zfs
    zfs.enableUnstable = true; # Default zfs is "broken" (to nixos) on the newest kernel
  };
}