From 0b5d523b84aa87221fe6b52ad25c055f0e2dfe56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Sun, 16 Feb 2014 14:22:24 +0100 Subject: [PATCH] redshift: default to string type for option brightness --- nixos/modules/services/x11/redshift.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/x11/redshift.nix b/nixos/modules/services/x11/redshift.nix index 332d742a141..02416f5ef12 100644 --- a/nixos/modules/services/x11/redshift.nix +++ b/nixos/modules/services/x11/redshift.nix @@ -38,12 +38,12 @@ in { services.redshift.brightness = { day = mkOption { description = "Screen brightness to apply during the day (between 0.1 and 1.0)"; - default = 1; + default = "1"; type = types.uniq types.string; }; night = mkOption { description = "Screen brightness to apply during the night (between 0.1 and 1.0)"; - default = 1; + default = "1"; type = types.uniq types.string; }; };