From b6e2c6d0df80112401cf445c768c477c568cde2e Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Sat, 15 Aug 2026 10:59:22 +0200 Subject: [PATCH] Implement ssh keys protected with solokey --- features-nixos/optional/solokey.nix | 7 +++++++ hosts/aspi/default.nix | 1 + hosts/kardorf/default.nix | 1 + 3 files changed, 9 insertions(+) create mode 100644 features-nixos/optional/solokey.nix diff --git a/features-nixos/optional/solokey.nix b/features-nixos/optional/solokey.nix new file mode 100644 index 0000000..1d49a02 --- /dev/null +++ b/features-nixos/optional/solokey.nix @@ -0,0 +1,7 @@ +# config to make solokey1 work for ssh +{...}: { + # services.pcscd.enable = true; + + services.gnome.gcr-ssh-agent.enable = false; + programs.ssh.startAgent = true; +} diff --git a/hosts/aspi/default.nix b/hosts/aspi/default.nix index 0befe33..5a64010 100644 --- a/hosts/aspi/default.nix +++ b/hosts/aspi/default.nix @@ -24,6 +24,7 @@ "${pwd}/features-nixos/optional/k9s" "${pwd}/features-nixos/optional/avahi.nix" + "${pwd}/features-nixos/optional/solokey.nix" ]; networking.hostName = "aspi"; diff --git a/hosts/kardorf/default.nix b/hosts/kardorf/default.nix index 0252708..91030f1 100644 --- a/hosts/kardorf/default.nix +++ b/hosts/kardorf/default.nix @@ -27,6 +27,7 @@ "${pwd}/features-nixos/optional/wireshark.nix" "${pwd}/features-nixos/optional/flatpak.nix" "${pwd}/features-nixos/optional/k9s" + "${pwd}/features-nixos/optional/solokey.nix" ]; networking.hostName = "kardorf";