Chnge filesystems

This commit is contained in:
Johannes Jöns 2023-11-16 17:00:59 +01:00 committed by GitHub
parent 804d430a19
commit a3c2b97992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,10 +26,19 @@
zramSwap.enable = true;
fileSystems = {
"/" = {
# "/" = {
# device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
# fsType = "btrfs";
# options = [ "subvol=@" "compress=zstd:8" ];
#};
"/" = {
device = "none";
fsType = "tmpfs";
options = [ "size=4G" "mode=755" ]; # mode=755 so only root can write to those files
};
"/nix" = {
device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
fsType = "btrfs";
options = [ "subvol=@" "compress=zstd:8" ];
fsType = "bcachefs";
};
"/boot/efi" = {
device = "/dev/disk/by-uuid/1F26-8168";