yubikey: updated image for key rotation

This commit is contained in:
Craige McWhirter 2021-01-28 15:37:16 +10:00
parent 95764e6878
commit f3c5f1d377
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -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 # GnuPGs interface to passphrase input
pinentry # GnuPGs 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;