commit e90d0dce63da617f325b869be4bb7d49b68535d7
parent db7a366c28e31131cee44300275ed63f1b02f746
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 22 Aug 2022 16:39:33 +0200
systems/hosts/wakasu: fix services.fprintd typo
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/systems/hosts/wakasu.nix b/systems/hosts/wakasu.nix
@@ -107,7 +107,7 @@ in
services = {
# automatic login is "safe" as we ask for the encryption passphrase anyway..
getty.autologinUser = "vincent";
- services.fprintd.enable = true;
+ fprintd.enable = true;
wireguard = {
enable = true;
ips = [ "${metadata.hosts.wakasu.wireguard.addrs.v4}/24" ];
@@ -117,4 +117,15 @@ in
};
};
+ security = {
+ pam = {
+ services = {
+ login.fprintAuth = true;
+ swaylock-effects.fprintAuth = true;
+ sudo.fprintAuth = true;
+ system-local-login.fprintAuth = true;
+ su.fprintAuth = true;
+ };
+ };
+ };
}