Compare commits

...

2 Commits

Author SHA1 Message Date
941e77971b fix: add hyprland autostart to profile 2026-01-08 17:45:01 +01:00
a0441aca16 fix: automatically unlock gnome keyring on login 2026-01-08 17:43:40 +01:00
2 changed files with 22 additions and 0 deletions

View File

@@ -46,3 +46,7 @@ dnf5 install -y https://launchpad.net/veracrypt/trunk/1.26.24/+download/veracryp
dnf5 remove -y rpmfusion-free-release rpmfusion-nonfree-release
dnf5 clean all
cp /ctx/login /etc/pam.d
echo 'if [[ $(ps aux | grep hyprland | wc -l) -eq 1 ]]; then cd $HOME && echo "launch hyprland?" && read && hyprland ; else echo "hyprland already running"; fi' >> /etc/profile

18
build_files/login Normal file
View File

@@ -0,0 +1,18 @@
#%PAM-1.0
auth substack system-auth
auth include postlogin
auth optional pam_gnome_keyring.so
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session include system-auth
session include postlogin
-session optional pam_ck_connector.so
session optional pam_gnome_keyring.so auto_start