about summary refs log tree commit diff stats
path: root/hosts/marduk/hardware/default.nix
blob: 726e27a1eb470213b61dacdedae64f0afa93877e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  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
  };
}