From ee5b9839fadf2e69da8a8c5b6853d0e6722c6275 Mon Sep 17 00:00:00 2001 From: Jan Bulthuis Date: Thu, 18 Jul 2024 23:58:59 +0200 Subject: [PATCH] Fixed build issue --- machines/laptop.nix | 3 --- modules/boot/silent-boot.nix | 32 ++++++++++++++++---------------- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/machines/laptop.nix b/machines/laptop.nix index b45a6f6..ed6c056 100644 --- a/machines/laptop.nix +++ b/machines/laptop.nix @@ -4,9 +4,6 @@ imports = [ # Import environment ../default.nix - - # TODO: Remove later - ../merged.nix ]; config = { diff --git a/modules/boot/silent-boot.nix b/modules/boot/silent-boot.nix index b509fcc..0c948e9 100644 --- a/modules/boot/silent-boot.nix +++ b/modules/boot/silent-boot.nix @@ -10,22 +10,22 @@ in { config = mkIf cfg.enable { boot = { - loader.timeout = 0; + loader.timeout = 0; + + consoleLogLevel = 0; + initrd.verbose = false; + initrd.checkJournalingFS = false; + + kernelParams = [ + "quiet" + "boot.shell_on_fail" + "loglevel=3" + "rd.systemd.show_status=false" + "rd.udev.log_level=3" + "udev.log_priority=3" + "video=efifb:nobgrt" + "bgrt_disable" + ]; }; - - consoleLogLevel = 0; - initrd.verbose = false; - initrd.checkJournalingFS = false; - - kernelParams = [ - "quiet" - "boot.shell_on_fail" - "loglevel=3" - "rd.systemd.show_status=false" - "rd.udev.log_level=3" - "udev.log_priority=3" - "video=efifb:nobgrt" - "bgrt_disable" - ]; }; } \ No newline at end of file