Every machine is a realm that you need to defend.
kingdom is a configuration of linux based on privacy, performance, aesthetic, hacking and development. You answer a few questions, pick what you want, and come back to a system that boots into GNOME or Hyprland (with the caelestia shell), encrypted, snapshotted and guarded from the first login.
- The soil → GRUB
- The King → Arch Linux
- The walls → LUKS2
- The chronicle → btrfs
- The granary → zram
- The gates → nftables & usbguard
- The watchtower → AIDE & ClamAV
- The main road → GDM
- The two courts → GNOME & Hyprland with caelestia
- The crusade → a Kali lab, only through the VPN
Everything it does, in detail: FEATURES.md.
You need a UEFI computer, internet and a backup of anything you care about.
-
Download the official Arch ISO:
curl -LO https://geo.mirror.pkgbuild.com/iso/latest/archlinux-x86_64.iso -
Find your USB stick (for example
/dev/sdb) and write the ISO to it. Everything on the stick is erased:lsblksudo dd if=archlinux-x86_64.iso of=/dev/sdX bs=4M status=progress oflag=sync -
Boot it and connect to Wi-Fi if needed (with a cable, skip this):
iwctl station wlan0 connect "Network name" -
Download kingdom:
curl -L https://github.com/LordMikkel/kingdom/archive/refs/heads/main.tar.gz | tar xz -
Start it:
bash kingdom-main/install/install-generic.sh
-
Download
kingdom-*.isofrom Releases:curl -LO https://github.com/LordMikkel/kingdom/releases/download/v0.0.1/kingdom-2026.10.20-x86_64.iso -
Find your USB stick (for example
/dev/sdb) and write the ISO to it. Everything on the stick is erased:lsblksudo dd if=kingdom-2026.10.20-x86_64.iso of=/dev/sdX bs=4M status=progress oflag=sync -
Boot it and connect to Wi-Fi if needed (with a cable, skip this):
iwctl station wlan0 connect "Network name" -
Start it:
bash /root/dotfiles/install/install-generic.sh
The ISO already carries kingdom; it still downloads the packages, so it still needs internet.
Every window has Back. A wrong answer is explained and asked again. Nothing is written to disk until step 6.
-
Your computer: name, user, time zone, keyboard and passwords.
-
What you get. Full list shows every package.
-
Optional groups.
Spacemarks or unmarks,Entercontinues.
-
Packages of each group. Unmark what you do not need.
-
Where to install: free space next to Windows, a whole disk, or one partition. In free space, type the size in GB (50 or more, or
max).
-
Ready to install. Type
INSTALL(orERASEwhen something is erased). It then works alone until it says Done: remove the USB and restart.
-
GRUB. Press
Enter.
-
Disk passphrase.
-
Log in.
-
Pick the desktop with the gear, bottom right. It is remembered.
Hyprland with caelestia
GNOME
- Made by LordMikkel, built and tested together with Claude Code as a pair programmer.
- Arch Linux and its wiki, the ground everything stands on.
- caelestia shell and CLI, with a few
local tweaks in
caelestia-tweaks/. - Hyprland and GNOME.