fix: assertions

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-11-04 10:52:59 +01:00
parent f5659c14d8
commit c3e19aae29
Signed by: lander
GPG key ID: 0142722B4B0C536F
5 changed files with 15 additions and 4 deletions

View file

@ -1,7 +1,6 @@
{ lib, ... }:
{
boot.initrd.systemd.enable = true;
boot.initrd.postDeviceCommands = lib.mkAfter "zfs mount -a";
fileSystems."/" = {
device = "none";
@ -13,6 +12,8 @@
];
};
fileSystems."/persist".neededForBoot = true;
environment.persistence."/persist" = {
directories = [
"/etc/nixos"