tried to turn on impermanence on mac

This commit is contained in:
Aleksandr Lebedev 2024-12-18 18:11:50 +01:00
parent b82c4b477d
commit df9ef966a2
2 changed files with 16 additions and 3 deletions

View file

@ -13,15 +13,27 @@
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
fileSystems."/" = {
device = "none";
fsType = "tmpfs";
options = [ "size = 3G" "mode = 755" ];
};
fileSystems."/persist" =
{ device = "/dev/disk/by-label/nixos";
fsType = "ext4";
neededForBoot = true;
};
fileSystems."/nix" = {
device = "/persist/nix";
options = [ "bind" ];
depends = [ "/persist" ]
neededForBoot = true;
};
fileSystems."/boot" =
{ device = "/dev/disk/by-label/EFI\\x20-\\x20NIXOS";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
neededForBoot = true;
};
swapDevices = [ ];