From 2c8f35500eccbb4bf83fd3c6f1af78a7cc64c08f Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 29 Nov 2022 10:46:14 +0800 Subject: [PATCH] hosts/graphical-installer: use latest kernel --- hosts/graphical-installer/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/hosts/graphical-installer/default.nix b/hosts/graphical-installer/default.nix index dbfc3e8f..b312546f 100644 --- a/hosts/graphical-installer/default.nix +++ b/hosts/graphical-installer/default.nix @@ -6,12 +6,6 @@ (lib.getUser "nixos" "nixos") ]; - networking.hostName = "graphical-installer"; - - boot.loader.systemd-boot.enable = true; - boot.supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ]; - users.users.root.password = ""; - isoImage = { isoBaseName = config.networking.hostName; contents = [{ @@ -46,4 +40,15 @@ user = "nixos"; }; }; + + networking.hostName = "graphical-installer"; + + boot = { + kernelPackages = pkgs.linuxPackages_latest; + loader.systemd-boot.enable = true; + supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ]; + }; + + users.users.root.password = ""; + }