From 23f8418ed653dcda044cac1b7899faca924a10a9 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Fri, 29 May 2026 23:01:47 -0400 Subject: [PATCH] Move boot drop-ins into Omarchy repo --- docs/file-layout.md | 8 ++------ etc/limine-entry-tool.d/omarchy-defaults.conf | 15 +++++++++++++++ etc/limine-entry-tool.d/omarchy-uki.conf | 1 + etc/mkinitcpio.conf.d/omarchy_hooks.conf | 1 + etc/mkinitcpio.conf.d/thunderbolt_module.conf | 1 + 5 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 etc/limine-entry-tool.d/omarchy-defaults.conf create mode 100644 etc/limine-entry-tool.d/omarchy-uki.conf create mode 100644 etc/mkinitcpio.conf.d/omarchy_hooks.conf create mode 100644 etc/mkinitcpio.conf.d/thunderbolt_module.conf diff --git a/docs/file-layout.md b/docs/file-layout.md index e925a245..29ab81de 100644 --- a/docs/file-layout.md +++ b/docs/file-layout.md @@ -74,6 +74,8 @@ applications/*.desktop ──► omarchy-settings /etc/skel/.local/s applications/icons/* ──► omarchy-settings /usr/share/icons/hicolor/{48,256,scalable}/apps/ etc/** ──► omarchy-settings /etc/** (drop-ins we own outright) + ├─ mkinitcpio.conf.d/{omarchy_hooks,thunderbolt_module}.conf + └─ limine-entry-tool.d/{omarchy-defaults,omarchy-uki}.conf default/limine/limine.conf ──► omarchy-settings /usr/share/omarchy/default/limine/limine.conf default/limine/default.conf ──► omarchy-settings /usr/share/omarchy/default/limine/default.conf @@ -81,12 +83,6 @@ default/limine/default.conf ──► omarchy-settings /usr/share/omarchy default/snapper/root ──► omarchy-settings /etc/snapper/config-templates/omarchy (+ /usr/share/omarchy/default/snapper/root) -omarchy-pkgs/omarchy-settings/ - omarchy_hooks.conf, - thunderbolt_module.conf ──► omarchy-settings /etc/mkinitcpio.conf.d/ - omarchy-defaults.conf, - omarchy-uki.conf ──► omarchy-settings /etc/limine-entry-tool.d/ - default/** ──► omarchy-settings /usr/share/omarchy/default/ ├─ bash/env-bootstrap /usr/share/omarchy/default/bash/env-bootstrap │ (sourced by every shell/session entry point; see "Env bootstrap") diff --git a/etc/limine-entry-tool.d/omarchy-defaults.conf b/etc/limine-entry-tool.d/omarchy-defaults.conf new file mode 100644 index 00000000..01e4044c --- /dev/null +++ b/etc/limine-entry-tool.d/omarchy-defaults.conf @@ -0,0 +1,15 @@ +TARGET_OS_NAME="Omarchy" + +KERNEL_CMDLINE[default]+=" quiet splash loglevel=0 systemd.show_status=false rd.udev.log_level=0 vt.global_cursor_default=0" + +CUSTOM_UKI_NAME="omarchy" +ENABLE_LIMINE_FALLBACK=yes + +# Find and add other bootloaders +FIND_BOOTLOADERS=yes + +BOOT_ORDER="*, *fallback, Snapshots" + +MAX_SNAPSHOT_ENTRIES=5 + +SNAPSHOT_FORMAT_CHOICE=5 diff --git a/etc/limine-entry-tool.d/omarchy-uki.conf b/etc/limine-entry-tool.d/omarchy-uki.conf new file mode 100644 index 00000000..04b69ac9 --- /dev/null +++ b/etc/limine-entry-tool.d/omarchy-uki.conf @@ -0,0 +1 @@ +ENABLE_UKI=yes diff --git a/etc/mkinitcpio.conf.d/omarchy_hooks.conf b/etc/mkinitcpio.conf.d/omarchy_hooks.conf new file mode 100644 index 00000000..9b087df6 --- /dev/null +++ b/etc/mkinitcpio.conf.d/omarchy_hooks.conf @@ -0,0 +1 @@ +HOOKS=(base udev plymouth keyboard autodetect microcode modconf kms keymap consolefont block encrypt filesystems fsck btrfs-overlayfs) diff --git a/etc/mkinitcpio.conf.d/thunderbolt_module.conf b/etc/mkinitcpio.conf.d/thunderbolt_module.conf new file mode 100644 index 00000000..9518f8b1 --- /dev/null +++ b/etc/mkinitcpio.conf.d/thunderbolt_module.conf @@ -0,0 +1 @@ +MODULES+=(thunderbolt)