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

polybar: fix type of systemd Service.Environment

See #5854
This commit is contained in:
Coutinho de Souza 2024-09-19 16:19:27 +00:00 committed by GitHub
parent 480d589cdd
commit 451606f4a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -220,7 +220,7 @@ in {
Service = {
Type = "forking";
Environment = "PATH=${cfg.package}/bin:/run/wrappers/bin";
Environment = [ "PATH=${cfg.package}/bin:/run/wrappers/bin" ];
ExecStart =
let scriptPkg = pkgs.writeShellScriptBin "polybar-start" cfg.script;
in "${scriptPkg}/bin/polybar-start";