Something went wrong. Try again.
forked from nix-community/disko
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ disko.devices = { disk = { main = { device = "/dev/vdb"; type = "disk"; content = { type = "gpt"; partitions = { ESP = { size = "500M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; }; root = { end = "-1G"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; encryptedSwap = { size = "10M"; 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 }; }; }; }; }; }; };}