Swap: Difference between revisions

Granddave (talk | contribs)
m Format swapDevices snippet according to nixpkgs-fmt
Granddave (talk | contribs)
m Format swapDevices snippet according to nixpkgs-fmt
Line 46: Line 46:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
swapDevices = [ {
swapDevices = [{
    device = "/dev/sdXY";
  device = "/dev/sdXY";
    randomEncryption.enable = true;  
  randomEncryption.enable = true;  
  } ];
}];
</syntaxhighlight>
</syntaxhighlight>