summaryrefslogtreecommitdiffstats
path: root/nixos/modules/tasks/filesystems.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-10-18 21:20:46 +0300
committerNikolay Amiantov <ab@fmap.me>2015-10-20 15:56:12 +0300
commitde8b8b35a41b2f1611be5da4697ab39a6d2fa2e3 (patch)
tree5c51d32185eea335f341ea51ad35315ac450e60c /nixos/modules/tasks/filesystems.nix
parent5c56b7e526db1865ffd5a3d5040774e308267132 (diff)
nixos/swap: refactor, add randomEncryption option
Diffstat (limited to 'nixos/modules/tasks/filesystems.nix')
-rw-r--r--nixos/modules/tasks/filesystems.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix
index 9dd250f140ce..dbe0c9c6e03a 100644
--- a/nixos/modules/tasks/filesystems.nix
+++ b/nixos/modules/tasks/filesystems.nix
@@ -174,7 +174,7 @@ in
# Swap devices.
${flip concatMapStrings config.swapDevices (sw:
- "${sw.device} none swap${prioOption sw.priority}\n"
+ "${sw.realDevice} none swap${prioOption sw.priority}\n"
)}
'';