summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-07-21 13:27:08 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-07-21 13:27:08 +0200
commitfa3f67966bfb912eef0f76fc0566aef6d73ae330 (patch)
tree8253350c7a10f010e61ae5903bc20fc0e1593c21
parent67f1510862206c70329d4d3f929d6bf9bf6d5e06 (diff)
types.string -> types.str
These options unintentionally used the deprecated string type, the important difference between these is the fact that string merges by default (similar to eg. lines) while str can only have a single value.
-rw-r--r--modules/services/emacs.nix2
-rw-r--r--modules/users/group.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/services/emacs.nix b/modules/services/emacs.nix
index f6716ad..92a2782 100644
--- a/modules/services/emacs.nix
+++ b/modules/services/emacs.nix
@@ -24,7 +24,7 @@ in
};
exec = mkOption {
- type = types.string;
+ type = types.str;
default = "emacs";
description = "Emacs command/binary to execute.";
};
diff --git a/modules/users/group.nix b/modules/users/group.nix
index 5aea718..1dc26f1 100644
--- a/modules/users/group.nix
+++ b/modules/users/group.nix
@@ -21,7 +21,7 @@ with lib;
};
members = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
description = "The group's members.";
};