diff --git a/modules/base.nix b/modules/base.nix index 6de1de3..a2d97c6 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -3,7 +3,7 @@ with lib; { - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages_6_1; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/system/shen/configuration.nix b/system/shen/configuration.nix index 84ff3f8..7a6f184 100644 --- a/system/shen/configuration.nix +++ b/system/shen/configuration.nix @@ -3,14 +3,7 @@ # and in the NixOS manual (accessible by running ‘nixos-help’). { config, lib, pkgs, ... }: -let - unstable = import { - config = { - allowUnfree = true; - allowUnfreePredicate = (pkg: true); - }; - }; -in + { imports = [ # Include the results of the hardware scan. @@ -55,7 +48,7 @@ in }; nvidia = { - package = config.boot.kernelPackages.nvidiaPackages.latest; + package = config.boot.kernelPackages.nvidiaPackages.stable; modesetting.enable = true; }; };