summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 11:02:04 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 14:57:42 +0100
commit862e3dd977cdd853c3ab3202ab1b73561f8a3ea1 (patch)
tree43e95414e328ac92383bccf41219c30fa9729473 /nixos/modules/system/boot/systemd.nix
parent162b874469935923dec02cc9a6b5f58b1c8267a8 (diff)
downloadnixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.gz
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.bz2
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.lz
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.xz
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.zst
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.zip
Substitute "types.uniq types.string" -> "types.str"
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r--nixos/modules/system/boot/systemd.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 903ff4119e7..c1fb2c45165 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -389,7 +389,7 @@ in
       type = types.attrsOf types.optionSet;
       options = {
         text = mkOption {
-          type = types.uniq types.string;
+          type = types.str;
           description = "Text of this systemd unit.";
         };
         enable = mkOption {
@@ -473,7 +473,7 @@ in
 
     systemd.defaultUnit = mkOption {
       default = "multi-user.target";
-      type = types.uniq types.string;
+      type = types.str;
       description = "Default unit started when the system boots.";
     };
 
@@ -488,13 +488,13 @@ in
 
     services.journald.console = mkOption {
       default = "";
-      type = types.uniq types.string;
+      type = types.str;
       description = "If non-empty, write log messages to the specified TTY device.";
     };
 
     services.journald.rateLimitInterval = mkOption {
       default = "10s";
-      type = types.uniq types.string;
+      type = types.str;
       description = ''
         Configures the rate limiting interval that is applied to all
         messages generated on the system. This rate limiting is applied
@@ -518,7 +518,7 @@ in
 
     services.logind.extraConfig = mkOption {
       default = "";
-      type = types.uniq types.string;
+      type = types.str;
       example = "HandleLidSwitch=ignore";
       description = ''
         Extra config options for systemd-logind. See man logind.conf for