From ab562d4c2a5cd6ee45c5e34201a60ce108680cb6 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 4 Dec 2018 23:41:42 +0100 Subject: [PATCH] autorandr: switch from types.string to types.str (cherry picked from commit cd7b6fdbc1ff7eff4f8308b0f04ef63fb70b01e7) --- modules/programs/autorandr.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/programs/autorandr.nix b/modules/programs/autorandr.nix index 034675e2..73c855f6 100644 --- a/modules/programs/autorandr.nix +++ b/modules/programs/autorandr.nix @@ -9,7 +9,7 @@ let profileModule = types.submodule { options = { fingerprint = mkOption { - type = types.attrsOf types.string; + type = types.attrsOf types.str; description = '' Output name to EDID mapping. Use autorandr --fingerprint to get current setup values. @@ -46,28 +46,28 @@ let }; position = mkOption { - type = types.string; + type = types.str; description = "Output position"; default = ""; example = "5760x0"; }; mode = mkOption { - type = types.string; + type = types.str; description = "Output resolution."; default = ""; example = "3840x2160"; }; rate = mkOption { - type = types.string; + type = types.str; description = "Output framerate."; default = ""; example = "60.00"; }; gamma = mkOption { - type = types.string; + type = types.str; description = "Output gamma configuration."; default = ""; example = "1.0:0.909:0.833";