From c5f35b7ff942d7f5875c0b772b7551c03b431c91 Mon Sep 17 00:00:00 2001
From: Benjamin Staffin <benley@gmail.com>
Date: Tue, 16 Apr 2019 17:01:14 -0400
Subject: [PATCH] dconf: allow values to be floats

Technically dconf calls these "double" but nix floats ought to work.
---
 modules/misc/dconf.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/dconf.nix b/modules/misc/dconf.nix
index 8c28fe9cd..7d3a9731d 100644
--- a/modules/misc/dconf.nix
+++ b/modules/misc/dconf.nix
@@ -19,7 +19,7 @@ let
     in
       "${key}=${tweakVal value}";
 
-  primitive = with types; either bool (either int str);
+  primitive = with types; either bool (either int (either float str));
 
 in