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