Migrate next-cloud environments to list

Thanks to https://framapiaf.org/@julm/107764071641134635 for posting the
suggestion.

This should allow me to remove the first entry, as soon as update
migrates from string to list, which I can suggest via PR.
This commit is contained in:
Daniel Siepmann 2022-02-08 20:42:54 +01:00
parent d00eb968a4
commit 9b435f36c9
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -132,5 +132,8 @@
# 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).
systemd.user.services.nextcloud-client.Service.Environment = pkgs.lib.mkForce "PATH=${config.home.profileDirectory}/bin QT_XCB_GL_INTEGRATION=none";
systemd.user.services.nextcloud-client.Service.Environment = pkgs.lib.mkForce [
"PATH=${config.home.profileDirectory}/bin"
"QT_XCB_GL_INTEGRATION=none"
];
}