[WIP] Many things:
- `gammastep` - `sudo` with fingerprints that fallbacks to normal password and works with `swaylock`
This commit is contained in:
parent
74a7f488f0
commit
05af2601a0
6 changed files with 27 additions and 2 deletions
12
modules/fprintd/default.nix
Normal file
12
modules/fprintd/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
security.polkit.enable = true; # TODO needed?
|
||||
|
||||
security.pam.services.swaylock.text = ''
|
||||
auth sufficient pam_unix.so try_first_pass likeauth nullok
|
||||
auth sufficient pam_fprintd.so
|
||||
'';
|
||||
}
|
|
@ -20,7 +20,7 @@
|
|||
substituters = [
|
||||
"https://cache.iog.io"
|
||||
"https://mlabs.cachix.org"
|
||||
"httos://aciceri-fleet.cachix.org"
|
||||
"https://aciceri-fleet.cachix.org"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue