From f723dce1df26faddabe95db5826fc12e5905e3a5 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Tue, 20 Sep 2022 17:48:00 +0200 Subject: [PATCH] feat(hosts/work-laptop): Enable plymouth for a bit nicer boot experience https://github.com/NixOS/nixpkgs/issues/44965#issuecomment-1216102053 --- hosts/work-laptop/hardware.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/work-laptop/hardware.nix b/hosts/work-laptop/hardware.nix index 013e0c61..425e0db9 100644 --- a/hosts/work-laptop/hardware.nix +++ b/hosts/work-laptop/hardware.nix @@ -28,6 +28,10 @@ in # Set kernel. Override it from nixos-hardware. boot.kernelPackages = lib.mkForce pkgs.linuxPackages_5_18; + # Enable a nice boot splash screen. + boot.initrd.systemd.enable = true; # needed for ZFS password prompt with plymouth. + boot.plymouth.enable = true; + # Enable ZFS. boot.supportedFilesystems = [ "zfs" ];