[NixOS] Set GDK_PIXBUF_MODULE_FILE explicitly

This commit is contained in:
Ivan Malison 2018-06-14 17:28:48 -07:00
parent 95eecb6856
commit 200bbb070b
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -135,6 +135,10 @@ in
transmission-gtk transmission-gtk
]; ];
environment.variables = {
GDK_PIXBUF_MODULE_FILE = "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache";
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
@ -190,6 +194,9 @@ in
sddm = { sddm = {
enable = true; enable = true;
}; };
sessionCommands = ''
systemctl --user import-environment GDK_PIXBUF_MODULE_FILE
'';
}; };
}; };