summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-06-06 00:53:57 +0200
committerMel <mel@rnrd.eu>2025-06-06 00:53:57 +0200
commit5948bab4ec817e5887fed9fa375da81207560794 (patch)
treef170ce380421cbffe0f1e2e30d82131c16b257e8 /modules
parent1b6875c312bf5a0a2444b8c086a7d12d087511eb (diff)
downloadminerals-5948bab4ec817e5887fed9fa375da81207560794.tar.zst
minerals-5948bab4ec817e5887fed9fa375da81207560794.zip
Patch yubikey-touch-detector for better message and icon
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules')
-rw-r--r--modules/hardware-keys.nix20
1 files changed, 14 insertions, 6 deletions
diff --git a/modules/hardware-keys.nix b/modules/hardware-keys.nix
index e6ae089..f101964 100644
--- a/modules/hardware-keys.nix
+++ b/modules/hardware-keys.nix
@@ -15,15 +15,23 @@
# see `modules/home/yubikeys.nix` for the YubiKey
# universal second factor (u2f) configuration file.
security = {
- pam.services = {
- login.u2fAuth = true;
- sudo.u2fAuth = true;
+ pam = {
+ services = {
+ login.u2fAuth = true;
+ sudo.u2fAuth = true;
+ };
+
+ mount.enable = true;
};
};
environment.systemPackages = with pkgs; [
- yubikey-manager yubikey-manager-qt
- yubikey-personalization yubikey-personalization-gui
- age-plugin-yubikey pam_u2f
+ yubikey-manager
+ yubikey-manager-qt
+ yubikey-personalization
+ yubikey-personalization-gui
+ yubikey-touch-detector # install icon
+ age-plugin-yubikey
+ pam_u2f
];
}