mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-27 20:36:26 -04:00
Re-implement support for auto-unlocking kwallet on login
This commit is contained in:
@@ -143,6 +143,9 @@ if [ "$formfactor" == 1 ] || [ "$formfactor" == 2 ] || [ "$formfactor" == 3 ]; t
|
||||
echo -e "[Basic Settings]\nIndexing-Enabled=false" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/baloofilerc
|
||||
echo -e "[General]\nloginMode=emptySession" | install -m 0600 -o $username -g users /dev/stdin /home/"$username"/.config/ksmserverrc
|
||||
|
||||
# allow auto-unlocking kwallet via PAM
|
||||
install -m 0644 ./config-files/plasma/pam-login-kwallet /etc/pam.d/login
|
||||
|
||||
# pipewire
|
||||
install -m 0755 ./programs/pipewire-start/pipewire-start.sh /usr/local/bin/pipewire-start.sh
|
||||
install -Dm 0644 -o $username -g users ./programs/pipewire-start/pipewire.desktop /home/"$username"/.config/autostart/pipewire.desktop
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#%PAM-1.0
|
||||
|
||||
auth required pam_securetty.so
|
||||
auth requisite pam_nologin.so
|
||||
auth include system-local-login
|
||||
auth optional pam_kwallet5.so
|
||||
account include system-local-login
|
||||
session include system-local-login
|
||||
session optional pam_kwallet5.so auto_start force_run
|
||||
session optional pam_kwallet5.so auto_start force_run
|
||||
password include system-local-login
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
loadkeys us
|
||||
echo ----------------------------------------------------------------------------------------------
|
||||
echo rwinkhart\'s Artix Install Script
|
||||
echo Last updated October 22, 2024 \(rev. A\)
|
||||
echo Last updated November 05, 2024 \(rev. A\)
|
||||
echo ----------------------------------------------------------------------------------------------
|
||||
echo You will be asked some questions before installation.
|
||||
echo -e "----------------------------------------------------------------------------------------------\n"
|
||||
|
||||
Reference in New Issue
Block a user