From 9b435f36c9c0d96224045cc255c629ec873bdfa4 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 8 Feb 2022 20:42:54 +0100 Subject: [PATCH] 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. --- home.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 11ba411..5cc77d8 100644 --- a/home.nix +++ b/home.nix @@ -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" + ]; }