{ config, lib, pkgs, modulesPath, ... }: let bootUUID = "7d30d165-5426-4af4-91f9-2b0631da9cdd"; efiUUID = "A735-60EE"; luuksUUID = "679187e3-2f68-4ff8-873f-bb526e9ab544"; cryptrootUUID = "ef0b8648-8096-49e8-8103-81c9c72a3017"; 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 = [ ]; }