From b765ac6fdc126824beb147bd3245e881d56e3d9c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 16 Aug 2023 16:28:15 +0200 Subject: ... --- hosts/sif/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hosts/sif/default.nix') diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 39b3ba43..66dca378 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -30,7 +30,10 @@ in { boot = { initrd = { - systemd.enable = true; + systemd = { + enable = true; + emergencyAccess = config.users.users.root.hashedPassword; + }; luks.devices = { nvm0 = { device = "/dev/disk/by-uuid/fe641e81-0812-4181-a5f6-382ebba509bb"; bypassWorkqueues = true; }; nvm1 = { device = "/dev/disk/by-uuid/43df1ba8-1728-4193-8855-920a82d4494a"; bypassWorkqueues = true; }; -- cgit v1.2.3