diff options
author | Adrian Kummerlaender | 2019-02-01 18:46:54 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-02-01 18:48:35 +0100 |
commit | cec64613630b68a8b0e286df862a92ce555a6bdc (patch) | |
tree | ff10677225010bc1043b770cea5920759089ecf9 /custom.nix | |
parent | 51a119b91bc56d57cd857ac5c08cf75b5f61c16e (diff) | |
download | nixos_home-cec64613630b68a8b0e286df862a92ce555a6bdc.tar nixos_home-cec64613630b68a8b0e286df862a92ce555a6bdc.tar.gz nixos_home-cec64613630b68a8b0e286df862a92ce555a6bdc.tar.bz2 nixos_home-cec64613630b68a8b0e286df862a92ce555a6bdc.tar.lz nixos_home-cec64613630b68a8b0e286df862a92ce555a6bdc.tar.xz nixos_home-cec64613630b68a8b0e286df862a92ce555a6bdc.tar.zst nixos_home-cec64613630b68a8b0e286df862a92ce555a6bdc.zip |
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.
Diffstat (limited to 'custom.nix')
-rw-r--r-- | custom.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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"; + }; +} |