magpie: use systemd in initrd, enable switchNg for nix
This commit is contained in:
parent
30560f07cd
commit
54e4e82dc7
@ -12,6 +12,10 @@
|
|||||||
|
|
||||||
nix.optimise.automatic = true;
|
nix.optimise.automatic = true;
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
system.switch = {
|
||||||
|
enable = false;
|
||||||
|
enableNg = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
@ -24,6 +28,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd = {
|
boot.initrd = {
|
||||||
|
systemd.enable = true;
|
||||||
compressor = "zstd";
|
compressor = "zstd";
|
||||||
availableKernelModules = ["virtio-pci"];
|
availableKernelModules = ["virtio-pci"];
|
||||||
network = {
|
network = {
|
||||||
|
Loading…
Reference in New Issue
Block a user