Commit dbc71dd95fbe

Vincent Demeester <vincent@sbr.pm>
2019-03-02 12:06:38
hokkaido: add early support for yubikeys
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 132e380
Changed files (2)
machine
modules
profiles
machine/hokkaido.nix
@@ -9,6 +9,7 @@ with import ../assets/machines.nix; {
       "net.bridge.bridge-nf-call-ip6tables" = 0;
     };
   };
+  hardware.u2f.enable = true;
   profiles = {
     dev.enable = true;
     docker.enable = true;
@@ -18,6 +19,7 @@ with import ../assets/machines.nix; {
     ssh.enable = true;
     syncthing.enable = true;
     nix-config.buildCores = 2;
+    yubikey.enable = true;
   };
   programs = {
     podman.enable = true;
modules/profiles/yubikey.nix
@@ -24,6 +24,8 @@ in
     environment = {
       systemPackages = with pkgs; [
         yubico-piv-tool
+        yubikey-personalization
+        yubioath-desktop
       ];
     };
   };