about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-21 17:21:32 +0100
committerene <ene@sils.li>2023-03-21 17:21:32 +0100
commit05674c993e8bbf4cf6e0466e54715a7bd1f4e55a (patch)
treec9acf46961cb799af176b802c4ec01c08b197134 /system
parentFix(flake): Fully delete steam (diff)
downloadnixos-config-05674c993e8bbf4cf6e0466e54715a7bd1f4e55a.tar.gz
nixos-config-05674c993e8bbf4cf6e0466e54715a7bd1f4e55a.zip
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.
Diffstat (limited to '')
-rw-r--r--system/fileSystemLayouts/default.nix2
1 files changed, 1 insertions, 1 deletions
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";
       };