82 lines
3.7 KiB
Nix
82 lines
3.7 KiB
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
|
|
boot = {
|
|
initrd.luks.devices = {
|
|
root = {
|
|
device = "/dev/disk/by-uuid/33365b82-66af-4694-8f53-ca988035bb38";
|
|
preLVM = true;
|
|
};
|
|
data = {
|
|
device = "/dev/disk/by-uuid/e24d79c5-c24f-4e07-ab7e-a9c17cb21085";
|
|
preLVM = true;
|
|
};
|
|
speed = {
|
|
device = "/dev/disk/by-uuid/47106e9a-99fe-4c6d-a61d-8a25e7b53fc5";
|
|
preLVM = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/af8ae319-17ec-4631-b7aa-5cf4c9f9330c";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/1918-A8CD";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
"/data/size" = {
|
|
device = "/dev/disk/by-uuid/d927d682-57ec-4b9b-b2ce-e77772e37bbc";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
"/data/speed" = {
|
|
device = "/dev/disk/by-uuid/eb1827e3-de96-4e79-816f-82ec9d84e45e";
|
|
fsType = "ext4";
|
|
};
|
|
};
|
|
|
|
swapDevices = [
|
|
{ device = "/dev/disk/by-uuid/ff5cfba4-7c9d-41af-ba91-97d8022b79f7"; }
|
|
];
|
|
}
|
|
|
|
# /dev/sdd1: BLOCK_SIZE="2048" UUID="1980-01-01-00-00-00-00" LABEL="nixos-minimal-20.09-x86_64" TYPE="iso9660" PTUUID="9fb6382f" PTTYPE="dos" PARTUUID="9fb6382f-01"
|
|
# /dev/mapper/vg--root-root: LABEL="root" UUID="af8ae319-17ec-4631-b7aa-5cf4c9f9330c" BLOCK_SIZE="4096" TYPE="ext4"
|
|
# /dev/mapper/vg--data-size: LABEL="data" UUID="d927d682-57ec-4b9b-b2ce-e77772e37bbc" BLOCK_SIZE="4096" TYPE="ext4"
|
|
# /dev/mapper/vg--speed-speed: LABEL="speed" UUID="eb1827e3-de96-4e79-816f-82ec9d84e45e" BLOCK_SIZE="4096" TYPE="ext4"
|
|
# /dev/loop0: TYPE="squashfs"
|
|
# /dev/sdc1: UUID="1918-A8CD" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="1a588f78-cfa9-4c7c-812f-34eb5865bec4"
|
|
# /dev/sdc2: UUID="33365b82-66af-4694-8f53-ca988035bb38" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="3c4b2253-f1d0-4fbb-8ef9-294e5246f295"
|
|
# /dev/sda1: UUID="e24d79c5-c24f-4e07-ab7e-a9c17cb21085" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="bd4f8053-5606-4018-bf7c-a42fc433be82"
|
|
# /dev/sdb1: UUID="47106e9a-99fe-4c6d-a61d-8a25e7b53fc5" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="225715cc-ab3d-4ca1-b86d-a8453e8d9c9e"
|
|
# /dev/sdd2: SEC_TYPE="msdos" LABEL_FATBOOT="EFIBOOT" LABEL="EFIBOOT" UUID="1234-5678" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="9fb6382f-02"
|
|
# /dev/mapper/crypt-root: UUID="Sj9qzV-VZYX-GGwJ-b5Sx-QL1E-399w-YBldee" TYPE="LVM2_member"
|
|
# /dev/mapper/crypt-size: UUID="OJkpMy-eN7n-qwJe-ZjKd-MDZd-SUW6-1qeV49" TYPE="LVM2_member"
|
|
# /dev/mapper/vg--data-swap: UUID="ff5cfba4-7c9d-41af-ba91-97d8022b79f7" TYPE="swap"
|
|
# /dev/mapper/crypt-speed: UUID="1HcMzn-Bbxq-evzi-AEQo-ffzD-5jOG-hOpc42" TYPE="LVM2_member"
|
|
# NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
|
|
# loop0 7:0 0 522.2M 1 loop /nix/.ro-store
|
|
# sda 8:0 0 931.5G 0 disk
|
|
# └─sda1 8:1 0 931.5G 0 part
|
|
# └─crypt-size 254:2 0 931.5G 0 crypt
|
|
# ├─vg--data-swap 254:3 0 32G 0 lvm [SWAP]
|
|
# └─vg--data-size 254:4 0 899.5G 0 lvm /mnt/data/size
|
|
# sdb 8:16 0 119.2G 0 disk
|
|
# └─sdb1 8:17 0 119.2G 0 part
|
|
# └─crypt-speed 254:5 0 119.2G 0 crypt
|
|
# └─vg--speed-speed 254:6 0 119.2G 0 lvm /mnt/data/speed
|
|
# sdc 8:32 0 465.8G 0 disk
|
|
# ├─sdc1 8:33 0 200M 0 part /mnt/boot
|
|
# └─sdc2 8:34 0 465.6G 0 part
|
|
# └─crypt-root 254:0 0 465.5G 0 crypt
|
|
# └─vg--root-root 254:1 0 465.5G 0 lvm /mnt
|
|
# sdd 8:48 1 30G 0 disk
|
|
# ├─sdd1 8:49 1 571M 0 part /iso
|
|
# └─sdd2 8:50 1 23M 0 part
|