From b7d2f56c967673343a6181e6fe0e0d52a35375b0 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 13 Feb 2023 09:07:36 +0000 Subject: [PATCH] Use the latest kernel by default --- README.md | 2 -- configuration.nix | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f3cab99..aa50ad0 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ Notes: cp local.nix.example local.nix nix-channel --add https://nixos.org/channels/nixos-22.11 nixos - nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small nix-channel --add https://nixos.org/channels/nixos-unstable unstable nix-channel --update @@ -52,6 +51,5 @@ Notes: Initial password for `user` is `user`. sudo nix-channel --add https://nixos.org/channels/nixos-22.11 nixos - sudo nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable sudo nix-channel --update diff --git a/configuration.nix b/configuration.nix index ce1f5dc..603f890 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,13 +1,10 @@ # nix-channel --add https://nixos.org/channels/nixos-22.11 nixos -# nix-channel --add https://nixos.org/channels/nixos-22.11-small nixos-small # nix-channel --add https://nixos.org/channels/nixos-unstable unstable # nix-channel --update # { config, pkgs, ... }: -let - nixos-small = import {}; -in { +{ imports = [ ./hardware-configuration.nix ./packages.nix @@ -21,7 +18,7 @@ in { ./local.nix ]; - boot.kernelPackages = nixos-small.linuxPackages_6_0; + boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelParams = [ "nouveau.modeset=0" ]; # comment out in case of nvidia time.timeZone = "UTC";