summary refs log tree commit diff
path: root/nixos/modules/services/x11/redshift.nix
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-02-16 14:22:24 +0100
committerDomen Kožar <domen@dev.si>2014-02-16 14:22:49 +0100
commit0b5d523b84aa87221fe6b52ad25c055f0e2dfe56 (patch)
treea9cb0d17c3870aee6808c1282a97d6c40420b9eb /nixos/modules/services/x11/redshift.nix
parent52248aa7a20f707afdd42cdb3973a5df2d5807ae (diff)
downloadnixpkgs-0b5d523b84aa87221fe6b52ad25c055f0e2dfe56.tar
nixpkgs-0b5d523b84aa87221fe6b52ad25c055f0e2dfe56.tar.gz
nixpkgs-0b5d523b84aa87221fe6b52ad25c055f0e2dfe56.tar.bz2
nixpkgs-0b5d523b84aa87221fe6b52ad25c055f0e2dfe56.tar.lz
nixpkgs-0b5d523b84aa87221fe6b52ad25c055f0e2dfe56.tar.xz
nixpkgs-0b5d523b84aa87221fe6b52ad25c055f0e2dfe56.tar.zst
nixpkgs-0b5d523b84aa87221fe6b52ad25c055f0e2dfe56.zip
redshift: default to string type for option brightness
Diffstat (limited to 'nixos/modules/services/x11/redshift.nix')
-rw-r--r--nixos/modules/services/x11/redshift.nix4
1 files 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;
       };
     };