From 8b805fa9d067bc72171ab39634f8562575165982 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Fri, 1 May 2026 02:09:52 -0500 Subject: [PATCH] Add Omarchy --- README.md | 1 + .../templates/menu/live-omarchy.ipxe.j2 | 39 +++++++++++++++++++ roles/netbootxyz/templates/menu/live.ipxe.j2 | 1 + 3 files changed, 41 insertions(+) create mode 100644 roles/netbootxyz/templates/menu/live-omarchy.ipxe.j2 diff --git a/README.md b/README.md index 66c47434..6e072489 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,7 @@ In addition to being able to host netboot.xyz locally, you can also create your | MirOS | http://www.mirbsd.org | Yes | No | | Nitrux | https://nxos.org/ | No | Yes | | NixOS | https://nixos.org | Yes | No | +| Omarchy | https://omarchy.org | No | Yes | | OpenBSD | https://openbsd.org | Yes | No | | openEuler | https://openeuler.org | Yes | No | | openSUSE | https://opensuse.org | Yes | No | diff --git a/roles/netbootxyz/templates/menu/live-omarchy.ipxe.j2 b/roles/netbootxyz/templates/menu/live-omarchy.ipxe.j2 new file mode 100644 index 00000000..5ab1a713 --- /dev/null +++ b/roles/netbootxyz/templates/menu/live-omarchy.ipxe.j2 @@ -0,0 +1,39 @@ +#!ipxe + +# Omarchy Operating System +# https://omarchy.org + +goto ${menu} || + +:live_menu +set os Omarchy +menu ${os} +set ipparam BOOTIF=${netX/mac} ip=dhcp net.ifnames=0 +item --gap ${os} Versions +{% for key, value in endpoints.items() | sort %} +{% if value.os == "omarchy" %} +item {{ value.version }} ${space} ${os} {{ value.version }} +{% endif %} +{% endfor %} +choose live_version || goto live_exit +goto ${live_version} + +{% for key, value in endpoints.items() | sort %} +{% if value.os == "omarchy" %} +:{{ value.version }} +set url ${live_endpoint}{{ value.path }} +goto boot + +{% endif %} +{% endfor %} + +:boot +imgfree +kernel ${url}vmlinuz ${ipparam} archiso_http_srv=${url} cow_spacesize=10G copytoram=auto module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes initrd=initrd.magic console=tty1 {{ kernel_params }} +initrd ${url}initrd +initrd ${url}archiso_pxe_http /hooks/archiso_pxe_http mode=755 +boot + +:live_exit +clear menu +exit 0 diff --git a/roles/netbootxyz/templates/menu/live.ipxe.j2 b/roles/netbootxyz/templates/menu/live.ipxe.j2 index 1922698a..d0cb77cc 100644 --- a/roles/netbootxyz/templates/menu/live.ipxe.j2 +++ b/roles/netbootxyz/templates/menu/live.ipxe.j2 @@ -28,6 +28,7 @@ item live-lxle ${space} LXLE item live-manjaro ${space} Manjaro item live-mint ${space} Mint item live-nitrux ${space} Nitrux +item live-omarchy ${space} Omarchy item live-parrot ${space} Parrot OS item live-peppermint ${space} Peppermint item live-popos ${space} Pop OS