From 05674c993e8bbf4cf6e0466e54715a7bd1f4e55a Mon Sep 17 00:00:00 2001 From: ene Date: Tue, 21 Mar 2023 17:21:32 +0100 Subject: Fix(system/file_system_layout): Use str instead of int An int can't be coerced to a string, but this is needed to use it in the config file. --- system/fileSystemLayouts/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/fileSystemLayouts/default.nix b/system/fileSystemLayouts/default.nix index f6d374d7..3edf0a79 100644 --- a/system/fileSystemLayouts/default.nix +++ b/system/fileSystemLayouts/default.nix @@ -37,7 +37,7 @@ in { description = lib.mdDoc "The uuid of the swapfile"; }; resumeOffset = mkOption { - type = lib.types.int; + type = lib.types.str; example = literalExpression "134324224"; description = lib.mdDoc "The resume offset of the swapfile"; }; -- cgit 1.4.1