1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

kdeconnect: fix type of systemd Service.Environment

See #5854
This commit is contained in:
Coutinho de Souza 2024-09-19 16:14:28 +00:00 committed by GitHub
parent ffc3a473e6
commit 10fd27c291
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ in {
Install = { WantedBy = [ "graphical-session.target" ]; };
Service = {
Environment = "PATH=${config.home.profileDirectory}/bin";
Environment = [ "PATH=${config.home.profileDirectory}/bin" ];
ExecStart =
if strings.versionAtLeast (versions.majorMinor cfg.package.version)
"24.05" then
@ -81,7 +81,7 @@ in {
Install = { WantedBy = [ "graphical-session.target" ]; };
Service = {
Environment = "PATH=${config.home.profileDirectory}/bin";
Environment = [ "PATH=${config.home.profileDirectory}/bin" ];
ExecStart = "${cfg.package}/bin/kdeconnect-indicator";
Restart = "on-abort";
};