added swap partition to disko config

This commit is contained in:
Steven 2023-03-25 20:38:11 -04:00
parent de79166be8
commit b64d48ff3b

View file

@ -1,6 +1,6 @@
{ disks ? [ "/dev/nvme0n1" ], ... }: {
disk = {
nvme0n1p1 = {
nvme0n1 = {
type = "disk";
device = builtins.elemAt disks 0;
content = {
@ -22,6 +22,17 @@
];
};
}
# {
# name = "swap";
# type = "partition";
# start = "101MiB";
# end = "40960MiB";
# part-type = "primary";
# content = {
# type = "swap";
# randomEncryption = true;
# };
# }
{
type = "partition";
name = "luks";