host framenix: use latest firmware from unstable

This commit is contained in:
Trolli Schmittlauch 2024-01-19 00:24:00 +01:00
parent f43f752fda
commit e5a5639aa1
2 changed files with 10 additions and 4 deletions

View file

@ -1,4 +1,7 @@
{ config, lib, pkgs, inputs, ...}:
{ config, lib, pkgs, inputs, system, ...}:
let
unstable = inputs.nixos-unstable.legacyPackages.${system};
in
{
imports = [
../../common
@ -13,6 +16,9 @@
# try newer kernels
boot.kernelPackages = pkgs.linuxPackages_latest;
# use newer linux-firmware from unstable
hardware.firmware = lib.mkBefore [ unstable.linux-firmware ];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;