"types.uniq types.string" -> "types.str"

wip/yesman
Eelco Dolstra 9 years ago
parent e212e07cf6
commit 9366af1b94
  1. 2
      nixos/modules/services/networking/atftpd.nix
  2. 8
      nixos/modules/services/x11/redshift.nix
  3. 2
      nixos/modules/services/x11/unclutter.nix

@ -26,7 +26,7 @@ in
root = mkOption {
default = "/var/empty";
type = types.uniq types.string;
type = types.str;
description = ''
Document root directory for the atftpd.
'';

@ -14,12 +14,12 @@ in {
services.redshift.latitude = mkOption {
description = "Your current latitude";
type = types.uniq types.string;
type = types.str;
};
services.redshift.longitude = mkOption {
description = "Your current longitude";
type = types.uniq types.string;
type = types.str;
};
services.redshift.temperature = {
@ -39,12 +39,12 @@ in {
day = mkOption {
description = "Screen brightness to apply during the day (between 0.1 and 1.0)";
default = "1";
type = types.uniq types.string;
type = types.str;
};
night = mkOption {
description = "Screen brightness to apply during the night (between 0.1 and 1.0)";
default = "1";
type = types.uniq types.string;
type = types.str;
};
};
};

@ -13,7 +13,7 @@ in {
services.unclutter.arguments = mkOption {
description = "Arguments to pass to unclutter command";
default = "-idle 1";
type = types.uniq types.string;
type = types.str;
};
};

Loading…
Cancel
Save