From df58d5865e3374cdebb3f6d00c30e3e2f98242e8 Mon Sep 17 00:00:00 2001 From: Nicole Dresselhaus Date: Wed, 11 Jun 2025 15:35:13 +0200 Subject: [PATCH] chore: fixdirs for real? ^^ --- configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 428e089..caf4c60 100644 --- a/configuration.nix +++ b/configuration.nix @@ -6,10 +6,11 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.initrd.kernelModules = [ "overlay" "vmd" ]; + # root auch in stage1 schon rw mounten, damit dinge verzeichnisse anlegen können. + boot.initrd.postMountCommands = '' + mount -o remount,rw / + ''; boot.zfs.extraPools = ["tank"]; - boot.initrd.systemd.tmpfiles.settings."fixdirs"."/nix" = { type = "d"; mode = "0755"; }; - boot.initrd.systemd.tmpfiles.settings."fixdirs"."/home" = { type = "d"; mode = "0755"; }; - boot.initrd.systemd.tmpfiles.settings."fixdirs"."/tank" = { type = "d"; mode = "0755"; }; networking.hostName = "nix-nas"; networking.hostId = "39373132"; # via: head -c4 /etc/machine-id | od -An -tx4