From bfd40d5a1d3e50e61b81df9df88a979dd38fc7a0 Mon Sep 17 00:00:00 2001 From: NullBite Date: Wed, 7 Feb 2024 13:55:12 +0100 Subject: [PATCH] slab: Move /nix to separate subvolume --- hosts/slab/hardware-configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/slab/hardware-configuration.nix b/hosts/slab/hardware-configuration.nix index 1f2ed37..48ddb10 100644 --- a/hosts/slab/hardware-configuration.nix +++ b/hosts/slab/hardware-configuration.nix @@ -24,6 +24,12 @@ # fsType = "ext4"; # }; + fileSystems."/nix" = + { device = "/dev/disk/by-uuid/5723dafa-81df-4bb4-a039-7f52b61cbb02"; + fsType = "btrfs"; + options = [ "subvol=nixos/@nix" ]; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/4E1B-8BEE"; fsType = "vfat";