From 1632d24d8f55ba66d2483fc32042ab7e29e33531 Mon Sep 17 00:00:00 2001 From: Mirza Arnaut Date: Fri, 13 Dec 2024 01:58:35 +0100 Subject: [PATCH] Make yubikey touch detector log verbose output to debug high CPU usage --- flake.lock | 6 +++--- flake.nix | 2 +- modules/nixos/security/yubikey/default.nix | 5 ++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 78573bd..1f76327 100644 --- a/flake.lock +++ b/flake.lock @@ -889,10 +889,10 @@ "wallpapers": { "flake": false, "locked": { - "lastModified": 1731869506, - "narHash": "sha256-c1XNNBwtItJnIrqxAzZ1HdttWnx9EsjrB9skv7KnVZI=", + "lastModified": 1734030694, + "narHash": "sha256-E701H38v9gvf9ry7GGD+uzOTftuAbJQ+eQ1RU7rvuAI=", "ref": "main", - "rev": "7c7a8fcffd477e81cae6fbb41d96772c5b78a480", + "rev": "3577421009ec23ee089efa433baff3f955560dc8", "shallow": true, "type": "git", "url": "https://github.com/arunoruto/wallpapers.git" diff --git a/flake.nix b/flake.nix index c2829b6..3df6095 100644 --- a/flake.nix +++ b/flake.nix @@ -114,7 +114,7 @@ # image = "anime/gruvbox/boonies.png"; # image = "anime/dan-da-dan/op/okarun1.png"; # image = "anime/dan-da-dan/op/okarun2.png"; - image = "anime/dan-da-dan/op/okarun3.png"; + image = "anime/dan-da-dan/op/okarun3-gruvbox.png"; # image = "anime/dan-da-dan/op/okarun4.png"; # image = "anime/dan-da-dan/op/okarun5.png"; # image = "anime/dan-da-dan/op/jiji1.png"; diff --git a/modules/nixos/security/yubikey/default.nix b/modules/nixos/security/yubikey/default.nix index e8d07bb..2c98396 100644 --- a/modules/nixos/security/yubikey/default.nix +++ b/modules/nixos/security/yubikey/default.nix @@ -44,7 +44,10 @@ in yubikey-manager ]; - programs.yubikey-touch-detector.enable = lib.mkDefault true; + programs.yubikey-touch-detector = { + enable = lib.mkDefault true; + verbose = true; + }; services = { pcscd.enable = true; # smartcard device