nextcloud-client: fix type of systemd Service.Environment

See #5854
This commit is contained in:
Coutinho de Souza 2024-09-19 16:18:08 +00:00 committed by GitHub
parent 06c6695c8c
commit dcc1a9e659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ in {
};
Service = {
Environment = "PATH=${config.home.profileDirectory}/bin";
Environment = [ "PATH=${config.home.profileDirectory}/bin" ];
ExecStart = "${cfg.package}/bin/nextcloud"
+ (optionalString cfg.startInBackground " --background");
};