From ea825be67f82dc45cab855dc051549e663c17f5f Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Wed, 31 May 2023 10:03:25 +0200 Subject: [PATCH] enable systemd in initrd --- flake.lock | 12 ++++++------ hosts/falkenstein-1/default.nix | 1 + hosts/nuc/hardware-configuration.nix | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 59bdd28..fbb70df 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/hosts/falkenstein-1/default.nix b/hosts/falkenstein-1/default.nix index d17e28f..d6963c0 100644 --- a/hosts/falkenstein-1/default.nix +++ b/hosts/falkenstein-1/default.nix @@ -23,6 +23,7 @@ efi.efiSysMountPoint = "/boot/efi"; }; kernelPackages = pkgs.linuxPackages_latest; + initrd.systemd.enable = true; }; time.timeZone = "Europe/Berlin"; diff --git a/hosts/nuc/hardware-configuration.nix b/hosts/nuc/hardware-configuration.nix index dd1fc33..bb0d733 100644 --- a/hosts/nuc/hardware-configuration.nix +++ b/hosts/nuc/hardware-configuration.nix @@ -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."/" =