diff --git a/machines/AMD-Workstation/boot.nix b/machines/AMD-Workstation/boot.nix index 0e68f50..2d36fd3 100644 --- a/machines/AMD-Workstation/boot.nix +++ b/machines/AMD-Workstation/boot.nix @@ -52,13 +52,19 @@ in { persist = { enable = true; - cache.clean.enable = false; + cache.clean.enable = true; # state.files = [ # "/etc/machine-id" # "/etc/NIXOS" # ]; }; + fileSystems."/" = lib.mkForce { + device = "none"; + options = [ "defaults" "size=4G" "mode=755" ]; + fsType = "tmpfs"; + }; + fileSystems."/home".neededForBoot = true; fileSystems."/persist".neededForBoot = true; boot.initrd.postDeviceCommands = lib.mkAfter '' diff --git a/machines/AMD-Workstation/hardware-configuration.nix b/machines/AMD-Workstation/hardware-configuration.nix index 6d1c0f2..59f7e08 100644 --- a/machines/AMD-Workstation/hardware-configuration.nix +++ b/machines/AMD-Workstation/hardware-configuration.nix @@ -13,10 +13,10 @@ boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "rpool/nixos/root"; - fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; - }; + # fileSystems."/" = + # { device = "rpool/nixos/root"; + # fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ]; + # }; fileSystems."/home" = { device = "rpool/user/home";