From 151165cecd0b81c52162d66c419466fb6702fe22 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Mon, 17 Mar 2025 21:07:55 +0100 Subject: [PATCH] framenix: switch to systemd-stage1 boot --- hosts/framenix/default.nix | 2 ++ hosts/framenix/storage.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/framenix/default.nix b/hosts/framenix/default.nix index 86cb501..166f4ee 100644 --- a/hosts/framenix/default.nix +++ b/hosts/framenix/default.nix @@ -32,6 +32,8 @@ in "amdgpu.abmlevel=1" # adaptive backlight management ]; + boot.initrd.systemd.enable = true; + # at boot by default, limit charging capacity to protect battery. # Hopefully there's gonna be a standard interface to control this from the desktop at some point. systemd.services.battery-charge-limit = { diff --git a/hosts/framenix/storage.nix b/hosts/framenix/storage.nix index b4d5793..7fb2801 100644 --- a/hosts/framenix/storage.nix +++ b/hosts/framenix/storage.nix @@ -19,7 +19,6 @@ in "system".device = "/dev/disk/by-uuid/1838cdc5-9b0b-4c46-9f23-9465549eeb92"; "cryptswap".device = "/dev/disk/by-uuid/ded7d649-ab3a-42ee-ae4a-f8c4ba029e9c"; }; - reusePassphrases = true; }; fileSystems = {