aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/lahmu/hardware/default.nix2
-rw-r--r--system/fileSystemLayouts/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/hosts/lahmu/hardware/default.nix b/hosts/lahmu/hardware/default.nix
index b126e673..a5958933 100644
--- a/hosts/lahmu/hardware/default.nix
+++ b/hosts/lahmu/hardware/default.nix
@@ -21,7 +21,7 @@
ssd = true;
swap = {
uuid = "TO_BE_ADDED";
- resumeOffset = 10;
+ resumeOffset = "10";
};
};
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";
};