magpie/initrd: fix networking with systemd-enabled initrd

This commit is contained in:
Asmir A 2024-09-02 22:59:00 +02:00
parent 908c352932
commit 1f15bf221b
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -21,18 +21,18 @@
boot.loader.systemd-boot.configurationLimit = 2;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = ["ip=dhcp"];
boot.kernel.sysctl = {
"net.core.default_qdisc" = "fq";
"net.ipv4.tcp_congestion_control" = "bbr";
};
boot.initrd = {
systemd.enable = true;
compressor = "zstd";
availableKernelModules = ["virtio-pci"];
systemd.enable = true;
network = {
enable = true;
udhcpc.enable = true;
ssh = {
enable = true;
hostKeys = [/etc/ssh_dummy_ed25519_key];