added swap partition to disko config
This commit is contained in:
parent
de79166be8
commit
b64d48ff3b
1 changed files with 12 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{ disks ? [ "/dev/nvme0n1" ], ... }: {
|
{ disks ? [ "/dev/nvme0n1" ], ... }: {
|
||||||
disk = {
|
disk = {
|
||||||
nvme0n1p1 = {
|
nvme0n1 = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = builtins.elemAt disks 0;
|
device = builtins.elemAt disks 0;
|
||||||
content = {
|
content = {
|
||||||
|
|
@ -22,6 +22,17 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
# {
|
||||||
|
# name = "swap";
|
||||||
|
# type = "partition";
|
||||||
|
# start = "101MiB";
|
||||||
|
# end = "40960MiB";
|
||||||
|
# part-type = "primary";
|
||||||
|
# content = {
|
||||||
|
# type = "swap";
|
||||||
|
# randomEncryption = true;
|
||||||
|
# };
|
||||||
|
# }
|
||||||
{
|
{
|
||||||
type = "partition";
|
type = "partition";
|
||||||
name = "luks";
|
name = "luks";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue