From 71358c4f1eac7c285b7beb0e3bfeed328f67d1ef Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sat, 28 Dec 2019 15:20:22 +0100 Subject: [PATCH] swapDevices..device can be a swap file. --- nixos/modules/config/swap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {