[NixOS] Set GDK_PIXBUF_MODULE_FILE explicitly
This commit is contained in:
parent
95eecb6856
commit
200bbb070b
@ -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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user