This repository has no description
939 B
39 lines
1{ ... }:
2{
3 # UEFI/GPT single-disk layout on the Samsung 990 EVO Plus NVMe.
4 # ESP for systemd-boot + a small swap + ext4 root spanning the rest.
5 disko.devices.disk.main = {
6 type = "disk";
7 device = "/dev/disk/by-id/nvme-Samsung_SSD_990_EVO_Plus_1TB_S7U4NU1YB01420B";
8 content = {
9 type = "gpt";
10 partitions = {
11 ESP = {
12 size = "1G";
13 type = "EF00";
14 content = {
15 type = "filesystem";
16 format = "vfat";
17 mountpoint = "/boot";
18 mountOptions = [ "umask=0077" ];
19 };
20 };
21 swap = {
22 size = "8G";
23 content = {
24 type = "swap";
25 discardPolicy = "both";
26 };
27 };
28 root = {
29 size = "100%";
30 content = {
31 type = "filesystem";
32 format = "ext4";
33 mountpoint = "/";
34 };
35 };
36 };
37 };
38 };
39}