From 2c181779426b72e48e10f32ad3169513bd6e9a68 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 25 Feb 2023 14:27:49 -0500 Subject: pin kernel/nvidia driver --- hosts/glados/boot.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'hosts/glados/boot.nix') diff --git a/hosts/glados/boot.nix b/hosts/glados/boot.nix index f936f1e..6ff35ba 100644 --- a/hosts/glados/boot.nix +++ b/hosts/glados/boot.nix @@ -1,15 +1,20 @@ { - config, lib, pkgs, + nixpkgsStable, ... -}: { +}: let + pinned-kernel = import nixpkgsStable { + system = "x86_64-linux"; + config.allowUnfree = true; + }; +in { environment.systemPackages = with pkgs; [ sbctl ]; boot = { - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pinned-kernel.pkgs.linuxPackages_6_1; bootspec.enable = true; loader.systemd-boot.enable = lib.mkForce false; -- cgit v1.2.3