yubikey: updated image for key rotation
This commit is contained in:
parent
95764e6878
commit
f3c5f1d377
|
@ -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…
Reference in a new issue