From 38274043d68b74ac93b5ba2bfc719e00c5334c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 13 Dec 2023 14:38:19 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(hydrogen/system)=20use=20latest=20?= =?UTF-8?q?kernel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hydrogen/system/boot/default.nix | 7 +++++++ hosts/hydrogen/system/default.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 hosts/hydrogen/system/boot/default.nix diff --git a/hosts/hydrogen/system/boot/default.nix b/hosts/hydrogen/system/boot/default.nix new file mode 100644 index 0000000..517868d --- /dev/null +++ b/hosts/hydrogen/system/boot/default.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + # clean /tmp at each boot + boot.tmp.cleanOnBoot = true; + + # use latest kernel + boot.kernelPackages = pkgs.linuxPackages_latest; +} diff --git a/hosts/hydrogen/system/default.nix b/hosts/hydrogen/system/default.nix index 3266288..e7c0fd7 100644 --- a/hosts/hydrogen/system/default.nix +++ b/hosts/hydrogen/system/default.nix @@ -10,6 +10,7 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/profiles/qemu-guest.nix") + ./boot ./disko ./networking ./packages