summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-04-30 23:01:57 +0200
committerGitHub <noreply@github.com>2017-04-30 23:01:57 +0200
commit6b31de49cfb122dd592c6cdc39fba93dacb22399 (patch)
tree3d5931578e92b59abb195b0ea7e693bde8a2c13c /nixos/modules/programs
parentd1a4cba04a06dcfe34b0e8bde0f2e8f4cbc32375 (diff)
parentf80eeb5d854cc5b0ae6f66616c1f29aabf0e0279 (diff)
downloadnixlib-6b31de49cfb122dd592c6cdc39fba93dacb22399.tar
nixlib-6b31de49cfb122dd592c6cdc39fba93dacb22399.tar.gz
nixlib-6b31de49cfb122dd592c6cdc39fba93dacb22399.tar.bz2
nixlib-6b31de49cfb122dd592c6cdc39fba93dacb22399.tar.lz
nixlib-6b31de49cfb122dd592c6cdc39fba93dacb22399.tar.xz
nixlib-6b31de49cfb122dd592c6cdc39fba93dacb22399.tar.zst
nixlib-6b31de49cfb122dd592c6cdc39fba93dacb22399.zip
Merge pull request #24005 from ambrop72/xcursor-path
nixos: Define XCURSOR_PATH environment variable.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/environment.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix
index a1615c920c02..48a1e2a0a883 100644
--- a/nixos/modules/programs/environment.nix
+++ b/nixos/modules/programs/environment.nix
@@ -20,6 +20,7 @@ in
       { NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
         PAGER = mkDefault "less -R";
         EDITOR = mkDefault "nano";
+        XCURSOR_PATH = "$HOME/.icons";
       };
 
     environment.profiles =
@@ -42,6 +43,7 @@ in
         GTK_PATH = [ "/lib/gtk-2.0" "/lib/gtk-3.0" ];
         XDG_CONFIG_DIRS = [ "/etc/xdg" ];
         XDG_DATA_DIRS = [ "/share" ];
+        XCURSOR_PATH = [ "/share/icons" ];
         MOZ_PLUGIN_PATH = [ "/lib/mozilla/plugins" ];
         LIBEXEC_PATH = [ "/lib/libexec" ];
       };