• 2026.07.01 acd6b27e4b

    amnesia released this 2026-07-01 21:19:26 +02:00 | 6 commits to main since this release

    ####INSTALLATION####

    ####layer 01/layer 02 migration and user guide ####

    Please read the lainOS layer 02 wiki links above before installing. INSTALLATION INSTRUCTIONS ARE IN THE WIKI. DO NOT USE BTRFS(it will likely be integrated within the month)

    Changelog

    2026-07-01

    doas

    • Added permit nopass :wheel cmd openrc-shutdown and permit nopass :wheel cmd lainos-suspend to /etc/doas.conf so wlogout actions work correctly on the installed system without a TTY

    protocol7-core(cleaned up OpenRC boot runlevels)

    • Removed lainos-ghost-units init script and sysinit runlevel symlink from airootfs overlay ~ now correctly handled by the protocol7-core package post_install hook, users on past isos will need to run these commands before updating again:
    • doas rm -f /etc/init.d/lainos-ghost-units
    • doas rm -f /etc/runlevels/sysinit/lainos-ghost-units
    • doas rm -f /etc/runlevels/boot/lainos-ghost-units
    • doas rc-update del cgroup-delegate sysinit
    • doas rc-update del lainos-ghost-units sysinit
    • doas rc-update del etmpfiles-dev sysinit
    • doas rc-update del etmpfiles-setup boot
    • doas rc-update del esysusers boot
    • doas pacman -Syu

    Lid Close / Sleep

    • Added acpid event rule for lid close (/etc/acpi/events/lid-close)
    • Added dynamic lid-close handler (/etc/acpi/handlers/lid-close.sh)
      • Detects sway user dynamically via ps — works for any user on installed system and root on live ISO
      • Launches swaylock --daemonize in the correct Wayland session context
      • Skips su - when sway is running as root (live ISO)
      • Creates XDG_RUNTIME_DIR if not present
      • Suspends via echo mem > /sys/power/state (no elogind/logind required)
    • Added acpid to default runlevel

    Screen Lock

    • Added swaylock config to /root/.config/swaylock/config (live ISO) and /etc/skel/.config/swaylock/config (installed users via Calamares)
      • Uses /usr/share/lainos/wallpapers/layer02-wallpaper.png with scaling=fill

    Wlogout

    • Added lainos-suspend script (/usr/local/bin/lainos-suspend)
      • Suspends via echo mem > /sys/power/state
    • Added wlogout layout to /root/.config/wlogout/layout (live ISO) and /etc/skel/.config/wlogout/layout (installed users via Calamares)
      • Shutdown and reboot via doas openrc-shutdown
      • Suspend via doas lainos-suspend
      • Lock via swaylock -f
      • Logout via swaymsg exit

    Known issues

    STILL NOT BTRFS COMPATIBLE YET. Use ext4 for now.

    • Some Nvidia cards have trouble with Sway(Follow Nvidia instructions above^^).

    Get connected

    • LainOS Matrix Chat: https://matrix.to/#/#lainos:catgirl.cloud

    • Discord Server (Discord violates your privacy by spying on you): https://discord.gg/JdMQvkHqwH

    • Onion XMPP Server and Chat: private-chat-c75bebbc-50f3-447d-811f-41f83de11811@conference.glcuf4hcwbm3lt6grg7jfwwus7sqpuojozfsnbzzcsf7vbm2jcfqckid.onion + full setup guide at https://lain.rocks (and our anon community lainboard)

    • Website: https://lainos.net

    • Onion Service: http://lainos3cbhrlsc4qyzu6o7jwhvnvakdtohcc46ds5aohdagakddftbid.onion

    irc.libera.chat ~ #LainOS

    LALL<3

    Downloads