Infini-DL360: make /etc/ssh needed for boot

This commit is contained in:
Infinidoge 2024-05-05 08:44:51 -04:00
parent d6ff3c8c70
commit 9848287141
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -7,6 +7,8 @@ in
{ {
boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages;
persist.directories = [ "/etc/ssh" ];
disko.devices = { disko.devices = {
nodev."/" = { nodev."/" = {
fsType = "tmpfs"; fsType = "tmpfs";
@ -60,4 +62,5 @@ in
fileSystems."/persist".neededForBoot = true; fileSystems."/persist".neededForBoot = true;
fileSystems."/storage".neededForBoot = true; fileSystems."/storage".neededForBoot = true;
fileSystems."/etc/ssh".neededForBoot = true;
} }