dotfiles/etc/dracut.conf

20 lines
915 B
Text
Raw Normal View History

2022-09-25 18:01:11 +00:00
# Do not show systemd messages at startup (quiet)
# Show plymouth splash screen
2022-09-27 12:36:27 +00:00
kernel_cmdline+=" quiet loglevel=3 rd.udev.log_level=3 splash vt.global_cursor_default=0 mem_sleep_default=deep "
2022-09-25 18:01:11 +00:00
# Compress to load faster
compress="zstd"
# Use hostonly to exclude unnecessary modules, but do not include the hostonly
# cmdline in the image, because I rely on discoverable partitions to mount the
# root filesystem.
# See <https://github.com/dracutdevs/dracut/issues/723#issuecomment-792248568>
hostonly="yes"
hostonly_cmdline="no"
# Add video drivers for early KMS
add_drivers+=" i915 "
# Omit bluetooth; I do not have bluetooth hardware I'd need during early boot,
# and as of 2021-12 it fails to build anyway, see
# https://bugs.archlinux.org/task/72463 and https://github.com/dracutdevs/dracut/pull/1671
omit_dracutmodules+=" bluetooth "
# Make sure we have the TPM stack available
add_dracutmodules+=" tpm2-tss "