flameshot: fix type of systemd Service.Environment

See #5854
This commit is contained in:
Coutinho de Souza 2024-09-19 16:13:03 +00:00 committed by GitHub
parent b6204ff489
commit 1d8296c46f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ in {
};
settings = mkOption {
type = iniFormat.type;
inherit (iniFormat) type;
default = { };
example = {
General = {
@ -64,7 +64,7 @@ in {
Install = { WantedBy = [ "graphical-session.target" ]; };
Service = {
Environment = "PATH=${config.home.profileDirectory}/bin";
Environment = [ "PATH=${config.home.profileDirectory}/bin" ];
ExecStart = "${cfg.package}/bin/flameshot";
Restart = "on-abort";