From a3c2b97992fa00062bba6f01a04471f117d62b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20J=C3=B6ns?= <34899572+jopejoe1@users.noreply.github.com> Date: Thu, 16 Nov 2023 17:00:59 +0100 Subject: [PATCH] Chnge filesystems --- systems/kami/hardware.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/systems/kami/hardware.nix b/systems/kami/hardware.nix index b3a57e9..2110a8d 100644 --- a/systems/kami/hardware.nix +++ b/systems/kami/hardware.nix @@ -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";