From cec64613630b68a8b0e286df862a92ce555a6bdc Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 1 Feb 2019 18:46:54 +0100 Subject: Add custom config key for enabling hidpi mode If this approach works as well as I hope it might become advantageous to nixify e.g. XMonad configuration. --- custom.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 custom.nix (limited to 'custom.nix') diff --git a/custom.nix b/custom.nix new file mode 100644 index 0000000..266a37e --- /dev/null +++ b/custom.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: + +{ + options.custom.hidpi = pkgs.lib.mkOption { + type = pkgs.lib.types.bool; + description = "Configure UI for high DPI displays"; + }; +} -- cgit v1.2.3