summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-01-22 09:02:54 +0100
committermakefu <github@syntax-fehler.de>2019-01-22 09:02:54 +0100
commitd6b74138c33c7458ebb6c87f171e7efcb9908f98 (patch)
tree5e65ceb34dc3556e6fb67b256a8c74c9d066021c /makefu
parentd8ab2b7f65d72931aac87059c91c04223af8ea1b (diff)
ma home-manager: set the XDG_DATA_DIRS and GDK_PIXBUF_MODULE_FILE load icons
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/home-manager/desktop.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefu/2configs/home-manager/desktop.nix b/makefu/2configs/home-manager/desktop.nix
index 40a1c6497..3be020faa 100644
--- a/makefu/2configs/home-manager/desktop.nix
+++ b/makefu/2configs/home-manager/desktop.nix
@@ -1,8 +1,9 @@
{ pkgs, lib, ... }:
{
- users.users.makefu.packages = with pkgs;[ bat direnv ];
+ users.users.makefu.packages = with pkgs;[ bat direnv clipit ];
home-manager.users.makefu = {
+ systemd.user.services.network-manager-applet.Service.Environment = ''XDG_DATA_DIRS=/run/current-system/sw/share:${pkgs.networkmanagerapplet}/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'';
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
programs.firefox.enable = true;
programs.obs-studio.enable = true;
@@ -36,6 +37,7 @@
};
Service = {
+ Environment = ''XDG_DATA_DIRS=/run/current-system/sw/share:${pkgs.clipit}/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'';
ExecStart = "${pkgs.clipit}/bin/clipit";
Restart = "on-abort";
};