{ config, lib, pkgs, modulesPath, ... }: let bootUUID = "14108d3e-5868-432d-a899-7f77ba04df70"; efiUUID = "D009-76D2"; luuksUUID = "36bfcfaa-c3ba-4840-82fc-6d75c1ac1925"; cryptrootUUID = "7239af3b-8bf9-48bf-9cbc-18a7704261b2"; in { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; fileSystems."/boot" = { device = "/dev/disk/by-uuid/${bootUUID}"; fsType = "ext4"; }; fileSystems."/efi" = { device = "/dev/disk/by-uuid/${efiUUID}"; fsType = "vfat"; options = [ "fmask=0137" "dmask=0027" ]; }; boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/${luuksUUID}"; fileSystems."/" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@root" ]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@home" ]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@nix" ]; }; fileSystems."/var/cache" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@var_cache" ]; }; fileSystems."/var/log" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@var_log" ]; }; fileSystems."/var/spool" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@var_spool" ]; }; fileSystems."/var/tmp" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@var_tmp" ]; }; fileSystems."/var/lib/machines" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@var_lib_machines" ]; }; fileSystems."/var/lib/portables" = { device = "/dev/disk/by-uuid/${cryptrootUUID}"; fsType = "btrfs"; options = [ "subvol=@var_lib_portables" ]; }; swapDevices = [ ]; }