1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

xsettings: fix type of systemd Service.Environment

See #5854
This commit is contained in:
Coutinho de Souza 2024-09-19 16:15:43 +00:00 committed by GitHub
parent 336c792b19
commit 397750d269
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@ in {
Install.WantedBy = [ "graphical-session.target" ];
Service = {
Environment = "PATH=${config.home.profileDirectory}/bin";
Environment = [ "PATH=${config.home.profileDirectory}/bin" ];
ExecStart = "${cfg.package}/bin/xsettingsd"
+ optionalString (cfg.configFile != null)
" -c ${escapeShellArg cfg.configFile}";