Format project using nixfmt rfc candidate.
This commit is contained in:
parent
1f63817684
commit
a9f7fe416f
91 changed files with 1347 additions and 1000 deletions
|
@ -4,8 +4,9 @@
|
|||
...
|
||||
}:
|
||||
with lib;
|
||||
mkIf (elem "fprintd" config.machine.services) {
|
||||
security.pam.services = let
|
||||
mkIf (elem "fprintd" config.machine.services) {
|
||||
security.pam.services =
|
||||
let
|
||||
unlock = [
|
||||
"sudo"
|
||||
"i3lock"
|
||||
|
@ -13,12 +14,16 @@ with lib;
|
|||
"lightdm"
|
||||
];
|
||||
in
|
||||
listToAttrs (forEach unlock (n: {
|
||||
listToAttrs (
|
||||
forEach unlock (n: {
|
||||
name = n;
|
||||
value = {fprintAuth = true;};
|
||||
}));
|
||||
value = {
|
||||
fprintAuth = true;
|
||||
};
|
||||
})
|
||||
);
|
||||
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue