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