summaryrefslogtreecommitdiffstats
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2019-12-28 15:20:22 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2019-12-28 20:00:50 +0100
commit71358c4f1eac7c285b7beb0e3bfeed328f67d1ef (patch)
tree85b629b2f28832fb6c53905c01658fcc238c9862 /nixos/modules/config
parent0f85c5bc5f62304ea8e7894085d0ded514e8de1d (diff)
swapDevices.<name>.device can be a swap file.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/swap.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/swap.nix b/nixos/modules/config/swap.nix
index fed3fa3bc7c8..d0fc0d4a3ea4 100644
--- a/nixos/modules/config/swap.nix
+++ b/nixos/modules/config/swap.nix
@@ -58,7 +58,7 @@ let
device = mkOption {
example = "/dev/sda3";
type = types.str;
- description = "Path of the device.";
+ description = "Path of the device or swap file.";
};
label = mkOption {