magpie: use systemd in initrd, enable switchNg for nix

This commit is contained in:
Asmir A 2024-09-02 21:50:34 +02:00
parent 30560f07cd
commit 54e4e82dc7
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -12,6 +12,10 @@
nix.optimise.automatic = true;
nix.settings.experimental-features = ["nix-command" "flakes"];
system.switch = {
enable = false;
enableNg = true;
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
@ -24,6 +28,7 @@
};
boot.initrd = {
systemd.enable = true;
compressor = "zstd";
availableKernelModules = ["virtio-pci"];
network = {