Compare commits

...

2 Commits

Author SHA1 Message Date
279e97d215 Add TPM2 support 2025-06-09 12:41:32 -04:00
3a84898308 Add Yubikey tools 2025-06-09 01:39:08 -04:00
2 changed files with 33 additions and 1 deletions

View File

@@ -81,7 +81,7 @@
users.users.chase = {
isNormalUser = true;
description = "Chase";
extraGroups = ["networkmanager" "wheel"];
extraGroups = ["networkmanager" "tss" "wheel"];
};
# Install git and enable cache
@@ -144,12 +144,14 @@
flashrom
gcc
nixd
pam_u2f
pciutils
python3
qemu
rustup
usbutils
wget
yubikey-manager
];
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
@@ -173,4 +175,33 @@
KbdInteractiveAuthentication = false;
};
};
services.pcscd.enable = true;
services.udev.packages = [pkgs.yubikey-personalization];
services.yubikey-agent.enable = true;
security.pam = lib.optionalAttrs pkgs.stdenv.isLinux {
sshAgentAuth.enable = true;
u2f = {
enable = true;
settings = {
cue = false;
authFile = "~/.config/Yubico/u2f_keys";
};
};
services = {
login.u2fAuth = true;
sudo = {
u2fAuth = true;
};
};
};
security.tpm2 = {
enable = true;
pkcs11.enable = true;
tctiEnvironment.enable = true;
};
}

View File

@@ -118,6 +118,7 @@
winDecStyles = ["classic"];
})
firefoxpwa
yubioath-flutter
];
services.fprintd.enable = true;