add tpm-fido
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
./radicle.nix
|
||||
./orca-slicer.nix
|
||||
./razer.nix
|
||||
./tpm-fido.nix
|
||||
];
|
||||
|
||||
vacu.hostName = "fw";
|
||||
|
11
fw/tpm-fido.nix
Normal file
11
fw/tpm-fido.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
vacu.packages = [ "tpm-fido" ];
|
||||
users.groups.uhid = {};
|
||||
users.users.shelvacu.extraGroups = [ config.security.tpm2.tssGroup config.users.groups.uhid.name ];
|
||||
security.tpm2.enable = true;
|
||||
security.tpm2.applyUdevRules = true;
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="uhid", SUBSYSTEM=="misc", GROUP="${config.users.groups.uhid.name}", MODE="0660"
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user