Format project using nixfmt rfc candidate.

This commit is contained in:
Kevin Baensch 2024-11-20 20:32:38 +01:00
parent 1f63817684
commit a9f7fe416f
Signed by: derped
GPG key ID: C0F1D326C7626543
91 changed files with 1347 additions and 1000 deletions

View file

@ -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;
};
}