feat(gs/system): Setup fingerprint scanner
This is kinda nifty Change-Id: I1b9a6762a5349974f539d2c4938a2b3dcdf488ad Reviewed-on: https://cl.tvl.fyi/c/depot/+/2219 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
ea936e0a78
commit
cdedcc6238
6 changed files with 364 additions and 1 deletions
|
@ -16,7 +16,13 @@ rec {
|
|||
yeren = import ./machines/yeren.nix;
|
||||
|
||||
yerenSystem = (pkgs.nixos {
|
||||
configuration = yeren;
|
||||
configuration = { ... }: {
|
||||
imports = [
|
||||
./machines/yeren.nix
|
||||
"${depot.depotPath}/ops/nixos/depot.nix"
|
||||
];
|
||||
inherit depot;
|
||||
};
|
||||
}).system;
|
||||
|
||||
iso = import ./iso.nix args;
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
../modules/xserver.nix
|
||||
../modules/fonts.nix
|
||||
../modules/sound.nix
|
||||
../modules/tvl.nix
|
||||
../modules/development.nix
|
||||
];
|
||||
|
||||
networking.hostName = "yeren";
|
||||
|
@ -69,4 +71,18 @@
|
|||
libvdpau-va-gl
|
||||
intel-media-driver
|
||||
];
|
||||
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
package = config.depot.users.glittershark.pkgs.fprintd;
|
||||
};
|
||||
|
||||
security.pam.services = {
|
||||
login.fprintAuth = true;
|
||||
sudo.fprintAuth = true;
|
||||
i3lock.fprintAuth = false;
|
||||
i3lock-color.fprintAuth = false;
|
||||
lightdm.fprintAuth = true;
|
||||
lightdm-greeter.fprintAuth = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue