enable systemd in initrd

This commit is contained in:
Rouven Seifert 2023-05-31 10:03:25 +02:00
parent 9530f26505
commit ea825be67f
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 8 additions and 6 deletions

View file

@ -55,11 +55,11 @@
]
},
"locked": {
"lastModified": 1685438474,
"narHash": "sha256-qQLHbg3mHYgWA3ngvWgWIdsirVkYA0StzKR3Qi72uWg=",
"lastModified": 1685480784,
"narHash": "sha256-pkk3J9gX745LEkkeTGhSRJqPJkmCPQzwI/q7a720XaY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9f82227b64245c273d98dd02dedd44fc7576041e",
"rev": "54a9d6456eaa6195998a0f37bdbafee9953ca0fb",
"type": "github"
},
"original": {
@ -282,11 +282,11 @@
]
},
"locked": {
"lastModified": 1685304640,
"narHash": "sha256-diFAEedQfEybK7FLpFOoNQFfN/R44yOxQvIVPIYmLvw=",
"lastModified": 1685479887,
"narHash": "sha256-Pqzkdt0twDVDI9H4AbRqwJSSMD2HAPpfeAxdL0uJnvs=",
"owner": "therealr5",
"repo": "purge",
"rev": "49f00c56e7bcf3bc7d84392bb872bfc36d59d95c",
"rev": "88cb576163fa9d00b4d61759ceb6e3075b5e5e82",
"type": "github"
},
"original": {

View file

@ -23,6 +23,7 @@
efi.efiSysMountPoint = "/boot/efi";
};
kernelPackages = pkgs.linuxPackages_latest;
initrd.systemd.enable = true;
};
time.timeZone = "Europe/Berlin";

View file

@ -12,6 +12,7 @@
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.initrd.systemd.enable = true;
boot.extraModulePackages = [ ];
fileSystems."/" =