Browse Source

yubikey: updated image for key rotation

flakify
Craige McWhirter 9 months ago
parent
commit
f3c5f1d377
Signed by: craige GPG Key ID: 7DBA9F5689EFB6AA
  1. 11
      images/usb-yubikey.nix

11
images/usb-yubikey.nix

@ -5,7 +5,8 @@
{ nixpkgs? <nixpkgs>, system ? "x86_64-linux" }:
let
config = { pkgs, ... }: {
config = { pkgs, ... }:
with pkgs; {
imports = [<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>];
boot.supportedFilesystems = [ "zfs" ];
boot.kernelParams = [ "console=ttyS0,115200n8" ];
@ -17,16 +18,16 @@ let
};
};
services.pcscd.enable = true;
services.udev.packages = [ pkgs.yubikey-personalization ];
environment.systemPackages = with pkgs; [
services.udev.packages = [ yubikey-personalization ];
environment.systemPackages = [
curl # Tool for transferring files with URL syntax
gnupg # GNU Privacy Guard
paperkey # Store OpenPGP or GnuPG on paper
pinentry_ncurses # GnuPG’s interface to passphrase input
pinentry # GnuPG’s interface to passphrase input
wget # Retrieve files using HTTP, HTTPS, and FTP
];
nixpkgs.config.allowUnfree = true;
services.openssh.enable = false;
#services.openssh.enable = false;
};
evalNixos = configuration: import <nixpkgs/nixos> {
inherit system configuration;

Loading…
Cancel
Save