about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2017-05-23 18:53:55 +0200
committerChristian Kögler <ck3d@gmx.de>2017-05-23 18:53:55 +0200
commitf3cfc10ebbd7294af96820c77464ccaf0d581253 (patch)
tree6f3d5015b3452a7c861a6313feef11cdb703a525
parent0afb6d789c8bf74825e8cdf6a5d3b9ab8bde4f2d (diff)
downloadnixlib-f3cfc10ebbd7294af96820c77464ccaf0d581253.tar
nixlib-f3cfc10ebbd7294af96820c77464ccaf0d581253.tar.gz
nixlib-f3cfc10ebbd7294af96820c77464ccaf0d581253.tar.bz2
nixlib-f3cfc10ebbd7294af96820c77464ccaf0d581253.tar.lz
nixlib-f3cfc10ebbd7294af96820c77464ccaf0d581253.tar.xz
nixlib-f3cfc10ebbd7294af96820c77464ccaf0d581253.tar.zst
nixlib-f3cfc10ebbd7294af96820c77464ccaf0d581253.zip
NixOS: fix XCURSOR_PATH expansion
This fix allows expansion of XCURSORPATH by using type array instead of
a string.
-rw-r--r--nixos/modules/programs/environment.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix
index 6c0d5d8b6049..ba356a8ad2dd 100644
--- a/nixos/modules/programs/environment.nix
+++ b/nixos/modules/programs/environment.nix
@@ -20,7 +20,7 @@ in
       { NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
         PAGER = mkDefault "less -R";
         EDITOR = mkDefault "nano";
-        XCURSOR_PATH = "$HOME/.icons";
+        XCURSOR_PATH = [ "$HOME/.icons" ];
       };
 
     environment.profiles =