Add key management tools to live ISO
This commit is contained in:
parent
ed89e79ca7
commit
7023b38351
1 changed files with 24 additions and 6 deletions
|
@ -55,13 +55,31 @@ in
|
|||
../base.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.cryptsetup
|
||||
environment.systemPackages =
|
||||
(with pkgs; [
|
||||
cryptsetup
|
||||
onlykey
|
||||
onlykey-cli
|
||||
onlykey-agent
|
||||
])
|
||||
++ [
|
||||
create-partitions
|
||||
create-filesystems
|
||||
prep-install
|
||||
];
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
};
|
||||
services.udev.extraRules = ''
|
||||
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", ENV{MTP_NO_PROBE}="1"
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", MODE:="0666"
|
||||
KERNEL=="ttyACM*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", MODE:="0666"
|
||||
'';
|
||||
|
||||
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
||||
|
||||
#Many installs will need this, and it won't hurt either way
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue