#!/usr/bin/env bash # Narrow source-built userland deployment; survives shell restart, not reboot. set -euo pipefail config=/nix/store/83q3pzk9jyrwxckn05ybj7qn1k7fkqsr-k230-sway.conf dropin=/run/systemd/system/shell.service.d/40-touch-launcher.conf [ "$(readlink -f /run/current-system)" = /nix/store/07qjn49hhr8m57x4afiapaxdxngl44zp-nixos-system-nixos-26.11.20260919.20b1ddd ] [ ! -e "$dropin" ] && [ ! -L "$dropin" ] nix-store --import < /tmp/k230-launcher-final-config.nar nix-store --add-root /nix/var/nix/gcroots/k230-launcher-trial --realise "$config" mkdir -p /run/systemd/system/shell.service.d cat > "$dropin" <