summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2019-12-28 15:20:22 +0100
committerGitHub <noreply@github.com>2019-12-28 15:20:22 +0100
commit3696758a7c5f28f4e20c18ffd0d6d507a0c12113 (patch)
tree8d54fbe3ce2d0d8718e5e41ca960742ab60eb254
parenttaizen: fix darwin build (diff)
downloadnixpkgs-origin/nixos-option-description-swap-file.tar.gz
swapDevices.<name>.device can be a swap file.origin/nixos-option-description-swap-file
-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 {