wip: Install Sway WM
This commit is contained in:
2
aimee-os
2
aimee-os
Submodule aimee-os updated: 554063e1f4...c30da6a5ff
@@ -13,4 +13,7 @@ ${target}-emerge -vgKnj --root=/mnt/gentoo www-client/firefox:esr
|
|||||||
|
|
||||||
passwd -R /mnt/gentoo -d root
|
passwd -R /mnt/gentoo -d root
|
||||||
|
|
||||||
|
groupadd -R /mnt/gentoo -r kiosk
|
||||||
|
useradd -R /mnt/gentoo -r -g kiosk kiosk
|
||||||
|
|
||||||
systemctl --root=/mnt/gentoo enable wpa_supplicant@wlan0
|
systemctl --root=/mnt/gentoo enable wpa_supplicant@wlan0
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
|
gui-wm/sway
|
||||||
net-wireless/wpa_supplicant
|
net-wireless/wpa_supplicant
|
||||||
media-video/pipewire
|
media-video/pipewire
|
||||||
|
|||||||
28
overlay/usr/lib/systemd/system/kiosk.service
Normal file
28
overlay/usr/lib/systemd/system/kiosk.service
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
[Unit]
|
||||||
|
After=systemd-user-sessions.service plymouth-quit-wait.service
|
||||||
|
Before=graphical.target
|
||||||
|
ConditionPathExists=/dev/tty1
|
||||||
|
Wants=dbus.socket systemd-logind.service
|
||||||
|
After=dbus.socket systemd-logind.service
|
||||||
|
Conflicts=getty@tty1.service
|
||||||
|
After=getty@tty1.service
|
||||||
|
Wants=time-sync.target
|
||||||
|
After=time-sync.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
TemporaryFileSystem=/home
|
||||||
|
ExecStartPre=!/bin/install -o kiosk -g kiosk -d -m u=rwx,go= /home/kiosk
|
||||||
|
ExecStart=/usr/bin/sway
|
||||||
|
User=kiosk
|
||||||
|
Environment=WLR_RENDERER_ALLOW_SOFTWARE=1
|
||||||
|
Environment=WLR_LIBINPUT_NO_DEVICES=1
|
||||||
|
StandardInput=tty
|
||||||
|
StandardOutput=tty
|
||||||
|
StandardError=journal
|
||||||
|
TTYPath=/dev/tty1
|
||||||
|
TTYReset=yes
|
||||||
|
TTYVHangup=yes
|
||||||
|
TTYVTDisallocate=yes
|
||||||
|
PAMName=system-login
|
||||||
|
UtmpMode=user
|
||||||
|
UtmpIdentifier=tty1
|
||||||
Reference in New Issue
Block a user