From 204303beeed720cac04923bb6a76935616ba0b1d Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 7 Feb 2024 18:52:09 +0100 Subject: [PATCH] hosts/zinc: add cryptsetup-askpass to .ash_history for faster access --- hosts/zinc/initrd.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/zinc/initrd.nix b/hosts/zinc/initrd.nix index bd00129..45c2803 100644 --- a/hosts/zinc/initrd.nix +++ b/hosts/zinc/initrd.nix @@ -37,6 +37,11 @@ in { "/var/src/secrets/initrd/ssh_host_ed25519_key" ]; }; + + boot.initrd.extraFiles."/root/.ash_history".source = pkgs.writeText ".ash_history" '' + cryptsetup-askpass + ''; + boot.initrd.kernelModules = [ "igc" # integrated rj45 network interface "cdc_ether" # external 5G modem via usb