initrd-ssh: fix shell

This commit is contained in:
Rouven Seifert 2024-05-14 14:08:21 +02:00
parent 071c0aa464
commit 763a71c93f
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -6,14 +6,14 @@
{ config, ... }:
{
boot.initrd = {
availableKernelModules = ["mlx5_core"];
availableKernelModules = [ "mlx5_core" ];
systemd = {
enable = true;
network = {
enable = true;
networks."10-wired-default" = config.systemd.network.networks."10-wired-default";
};
users.root.shell = "/bin/zfs load-key rpool/nixos";
users.root.shell = "/bin/systemd-tty-ask-password-agent";
};
network = {
enable = true;