Commit e90d0dce63da

Vincent Demeester <vincent@sbr.pm>
2022-08-22 16:39:33
systems/hosts/wakasu: fix services.fprintd typo
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent db7a366
Changed files (1)
systems
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;
+      };
+    };
+  };
 }