system/services/greetd: disable fprintd
This commit is contained in:
parent
262de31d36
commit
0e08d243d1
1 changed files with 13 additions and 0 deletions
|
@ -18,4 +18,17 @@
|
||||||
default_session = initial_session;
|
default_session = initial_session;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.pam.services.greetd.text = lib.mkIf config.services.fprintd.enable ''
|
||||||
|
account required pam_unix.so
|
||||||
|
|
||||||
|
# disable fprintd on greetd
|
||||||
|
auth sufficient pam_unix.so try_first_pass likeauth
|
||||||
|
auth required pam_deny.so
|
||||||
|
|
||||||
|
password sufficient pam_unix.so nullok yescrypt
|
||||||
|
|
||||||
|
session required pam_env.so conffile=/etc/pam/environment readenv=0
|
||||||
|
session required pam_unix.so
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue