From 6eadb16022b6e52f3cdb2167aaa7b82e221bfc1a Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Mon, 17 Aug 2015 17:52:45 +0000 Subject: nixos: fix some types --- nixos/modules/programs/xfs_quota.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nixos/modules/programs/xfs_quota.nix') diff --git a/nixos/modules/programs/xfs_quota.nix b/nixos/modules/programs/xfs_quota.nix index d30a85922cff..90b6304fa999 100644 --- a/nixos/modules/programs/xfs_quota.nix +++ b/nixos/modules/programs/xfs_quota.nix @@ -32,25 +32,25 @@ in }; fileSystem = mkOption { - type = types.string; + type = types.str; description = "XFS filesystem hosting the xfs_quota project."; default = "/"; }; path = mkOption { - type = types.string; + type = types.str; description = "Project directory."; }; sizeSoftLimit = mkOption { - type = types.nullOr types.string; + type = types.nullOr types.str; default = null; example = "30g"; description = "Soft limit of the project size"; }; sizeHardLimit = mkOption { - type = types.nullOr types.string; + type = types.nullOr types.str; default = null; example = "50g"; description = "Hard limit of the project size."; -- cgit 1.4.1