n/kyorinrin: try out fingerprint reader
This commit is contained in:
parent
5ba7383cf3
commit
0bc998b139
2 changed files with 18 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
let
|
||||
pkgsOlder = import inputs.nixpkgsOlder { system = pkgs.system; config.allowUnfree = true; };
|
||||
in
|
||||
{
|
||||
networking.hostName = "kyorinrin";
|
||||
|
||||
|
@ -17,6 +20,15 @@
|
|||
boot.initrd.unl0kr.enable = false;
|
||||
boot.plymouth.enable = true;
|
||||
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
tod = {
|
||||
enable = true;
|
||||
driver = pkgsOlder.libfprint-2-tod1-goodix;
|
||||
};
|
||||
package = pkgsOlder.fprintd-tod;
|
||||
};
|
||||
|
||||
age.secrets.ar-password.file = ../../secrets/kyorinrin-ar.age;
|
||||
|
||||
users.users.ar.hashedPasswordFile = config.age.secrets.ar-password.path;
|
||||
|
|
|
@ -99,4 +99,10 @@ _:
|
|||
fsType = "btrfs";
|
||||
options = [ "subvol=var_lib_tailscale" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/fprint" = {
|
||||
device = "/dev/disk/by-uuid/82037b18-0f09-4383-8238-8e3396af30a3";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=var_lib_fprint" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue