-
-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Description
Sorry for the bad title, I'm not even sure if this is an error or intentional but it seems weird to me.
I used the two sap definitions from this example and integrated it into my config. So far no issues the config works fine but for the encryptet swap I get the following /dev/mapper entry:
/dev/mapper/dev-disk-byx2dpartlabel-diskx2dmainx2dencryptedSwap
The naming is consistent so I also have a corresponding fstab entry. But is this intentional?
Here are the two definition blocks for regular and encryptet swap:
encryptedSwap = {
size = "500M";
content = {
type = "swap";
randomEncryption = true;
priority = 100; # prefer to encrypt as long as we have space for it
};
};
plainSwap = {
size = "100%";
content = {
type = "swap";
discardPolicy = "both";
resumeDevice = true; # resume from hiberation from this device
};
};
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels