diff --git a/CMakeLists.txt b/CMakeLists.txt index 69fe425..977cc2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,3 +27,9 @@ install( DESTINATION bin COMPONENT runtime ) + +install( + FILES ${CMAKE_CURRENT_SOURCE_DIR}/pam/swaylock + DESTINATION /etc/pam.d/ + COMPONENT data +) diff --git a/pam/swaylock b/pam/swaylock new file mode 100644 index 0000000..7ea7a60 --- /dev/null +++ b/pam/swaylock @@ -0,0 +1,6 @@ +# +# PAM configuration file for the swaylock screen locker. By default, it includes +# the 'system-auth' configuration file (see /etc/pam.d/login) +# + +auth include system-auth