summaryrefslogtreecommitdiff
path: root/sys/boot.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-08-20 17:58:01 -0600
committerAlejandro Soto <alejandro@34project.org>2023-08-20 18:00:06 -0600
commit2121886dcc3c3ff43bd2472a0463b17595a0b3a7 (patch)
tree2c0e310c5a7079b0cc1930b54dfd283d577ac5e5 /sys/boot.nix
parentc69667f626a4a553b4204b89d9e58858b500f546 (diff)
sys/boot: set kernel version to kernelPackages_latest
Diffstat (limited to 'sys/boot.nix')
-rw-r--r--sys/boot.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/boot.nix b/sys/boot.nix
index 5d37b25..2660084 100644
--- a/sys/boot.nix
+++ b/sys/boot.nix
@@ -1,4 +1,4 @@
-{ lib, config, ... }:
+{ lib, config, pkgs, ... }:
with lib; let
cfg = config.local;
in
@@ -27,6 +27,8 @@ in
config = {
boot = {
+ kernelPackages = pkgs.linuxPackages_latest;
+
loader = (if cfg.loader == "grub" then {
grub = {
enable = true;