modules/kdeconnect: stop overriding PATH, remove support for prehistoric versions

Bad. No. Why.
This commit is contained in:
K900
2026-06-17 10:48:18 -05:00
committed by Austin Horstman
parent d2d79394a4
commit fa4e2f7e10
+1 -7
View File
@@ -48,12 +48,7 @@ in
};
Service = {
Environment = [ "PATH=${config.home.profileDirectory}/bin" ];
ExecStart =
if lib.strings.versionAtLeast (lib.versions.majorMinor cfg.package.version) "24.05" then
"${cfg.package}/bin/kdeconnectd"
else
"${cfg.package}/libexec/kdeconnectd";
ExecStart = "${cfg.package}/bin/kdeconnectd";
Restart = "on-abort";
};
};
@@ -80,7 +75,6 @@ in
};
Service = {
Environment = [ "PATH=${config.home.profileDirectory}/bin" ];
ExecStart = "${cfg.package}/bin/kdeconnect-indicator";
Restart = "on-abort";
};