wip: Install Sway WM
parent
3da17134f2
commit
d05b9ee098
2
aimee-os
2
aimee-os
|
@ -1 +1 @@
|
|||
Subproject commit 554063e1f4e316a6d3087a27076e0c6d5a34fca1
|
||||
Subproject commit c30da6a5ff0d2f9fade417e91b083d7b483f0984
|
|
@ -13,4 +13,7 @@ ${target}-emerge -vgKnj --root=/mnt/gentoo www-client/firefox:esr
|
|||
|
||||
passwd -R /mnt/gentoo -d root
|
||||
|
||||
groupadd -R /mnt/gentoo -r kiosk
|
||||
useradd -R /mnt/gentoo -r -m -d /home/kiosk -g kiosk kiosk
|
||||
|
||||
systemctl --root=/mnt/gentoo enable wpa_supplicant@wlan0
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
gui-wm/sway
|
||||
net-wireless/wpa_supplicant
|
||||
media-video/pipewire
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
account required pam_localuser.so
|
||||
|
||||
session optional pam_loginuid.so
|
||||
session required pam_env.so envfile=/etc/profile.env
|
||||
session required pam_limits.so
|
||||
session required pam_env.so
|
||||
session required pam_unix.so
|
||||
session required pam_systemd.so
|
|
@ -0,0 +1,25 @@
|
|||
[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]
|
||||
ExecStart=/usr/bin/sway -d
|
||||
User=kiosk
|
||||
Environment=WLR_LIBINPUT_NO_DEVICES=1
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
StandardError=journal
|
||||
TTYPath=/dev/tty1
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
TTYVTDisallocate=yes
|
||||
PAMName=kiosk
|
||||
UtmpMode=user
|
||||
UtmpIdentifier=tty1
|
Loading…
Reference in New Issue