Fix swayidle
This commit is contained in:
parent
3c29cd62f7
commit
55835d1367
4 changed files with 23 additions and 14 deletions
|
@ -1,13 +1,15 @@
|
|||
{
|
||||
imports = [../pam];
|
||||
|
||||
services.fprintd = {
|
||||
enable = false; # temporarily disable
|
||||
};
|
||||
|
||||
security.polkit.enable = true; # TODO needed?
|
||||
|
||||
security.pam.services.swaylock.text = ''
|
||||
auth include login
|
||||
auth sufficient pam_unix.so try_first_pass likeauth nullok
|
||||
'';
|
||||
# security.pam.services.swaylock.text = ''
|
||||
# auth include login
|
||||
# auth sufficient pam_unix.so try_first_pass likeauth nullok
|
||||
# '';
|
||||
# # auth sufficient pam_fprintd.so
|
||||
}
|
||||
|
|
6
modules/pam/default.nix
Normal file
6
modules/pam/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
security.pam.services.swaylock.text = ''
|
||||
auth include login
|
||||
auth sufficient pam_unix.so try_first_pass likeauth nullok
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue