Daniel Siepmann
74b22e6e5b
The applications path is already added to the necessary environment variable, see: https://unix.stackexchange.com/questions/310666/nix-desktop-files/311645#311645 No need to do anything else on my end. This is enabled due to "config.xdg.mime.enable".
25 lines
832 B
Nix
25 lines
832 B
Nix
{ config, pkgs }:
|
|
|
|
{
|
|
services = {
|
|
|
|
# Temporary fix to OpenGL issue by using GLX.
|
|
# Start nextcloud without GLX support which is fine for me for noe.
|
|
# I don't have a better way for now, then using `pkgs.lib.mkForce` and setting whole value (repeating from modules/services/nextcloud-client.nix).
|
|
nextcloud-client.Service.Environment = pkgs.lib.mkForce [
|
|
"PATH=${config.home.profileDirectory}/bin"
|
|
"QT_XCB_GL_INTEGRATION=none"
|
|
];
|
|
|
|
batteryicon = import ./services/batteryicon.nix {
|
|
inherit pkgs;
|
|
};
|
|
|
|
};
|
|
|
|
tmpfiles.rules = [
|
|
"L ${config.home.homeDirectory}/.themes - - - - ${config.home.profileDirectory}/share/themes"
|
|
"L ${config.home.homeDirectory}/.icons/${config.gtk.iconTheme.name} - - - - ${config.home.profileDirectory}/share/icons/${config.gtk.iconTheme.name}"
|
|
];
|
|
}
|