chore: fixdirs for real? ^^

This commit is contained in:
Nicole Dresselhaus 2025-06-11 15:35:13 +02:00
parent 720a1a20c8
commit df58d5865e

View File

@ -6,10 +6,11 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.kernelModules = [ "overlay" "vmd" ]; 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.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.hostName = "nix-nas";
networking.hostId = "39373132"; # via: head -c4 /etc/machine-id | od -An -tx4 networking.hostId = "39373132"; # via: head -c4 /etc/machine-id | od -An -tx4