From c1d7c0d6bd1bda6c254e0770aa6cc8271df479a2 Mon Sep 17 00:00:00 2001
From: Evgeny Egorochkin <phreedom.stdin@gmail.com>
Date: Thu, 10 Nov 2011 16:39:04 +0000
Subject: [PATCH] Remove swap cipher option because it isn't implemented and is
 misleading new users

svn path=/nixos/trunk/; revision=30371
---
 modules/config/swap.nix | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/modules/config/swap.nix b/modules/config/swap.nix
index 1e373382917a..550cd4755af7 100644
--- a/modules/config/swap.nix
+++ b/modules/config/swap.nix
@@ -45,16 +45,6 @@ with pkgs.lib;
             '';
           };
 
-          cipher = mkOption {
-            default = false;
-            example = true;
-            type = types.bool;
-            description = ''
-              Encrypt the swap device to protect swapped data.  This option
-              does not work with labels.
-            '';
-          };
-
         };
 
         config = {