This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

aergia: use new gpt tables

+15 -24
+15 -24
nixos/machines/aergia/disk.nix
··· 8 8 type = "disk"; 9 9 device = "/dev/nvme0n1"; 10 10 content = { 11 - type = "table"; 12 - format = "gpt"; 13 - partitions = [ 14 - { 15 - name = "boot"; 16 - start = "0"; 17 - end = "1M"; 18 - part-type = "primary"; 19 - flags = ["bios_grub"]; 20 - } 21 - { 22 - name = "ESP"; 23 - start = "1MiB"; 24 - end = "1GiB"; 25 - fs-type = "fat32"; 26 - bootable = true; 11 + type = "gpt"; 12 + partitions = { 13 + grub = { 14 + size = "1M"; 15 + type = "EF02"; 16 + }; 17 + ESP = { 18 + size = "1G"; 19 + type = "EF00"; 27 20 content = { 28 21 type = "filesystem"; 29 22 format = "vfat"; 30 23 mountpoint = "/boot"; 31 24 }; 32 - } 33 - { 34 - name = "root"; 35 - start = "1GiB"; 36 - end = "100%"; 25 + }; 26 + root = { 27 + size = "100%"; 37 28 content = { 38 29 type = "luks"; 39 30 name = "aergia1"; 40 31 content = { 41 32 type = "btrfs"; 42 - extraArgs = "-f"; # Override existing partition 33 + extraArgs = [ "-f" ]; # Override existing partition 43 34 subvolumes = { 44 35 # Subvolume name is different from mountpoint 45 36 "/rootfs" = { ··· 57 48 }; 58 49 }; 59 50 }; 60 - } 61 - ]; 51 + }; 52 + }; 62 53 }; 63 54 }; 64 55 };