mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
foot: add foot binaries to user service's path (#2061)
This is needed for foot's new terminal spawning feature to function.
This commit is contained in:
parent
2a4ab0d891
commit
cb227dc6c2
2 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
Environment = "PATH=${cfg.package}/bin";
|
||||||
ExecStart = "${cfg.package}/bin/foot --server";
|
ExecStart = "${cfg.package}/bin/foot --server";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment=PATH=@foot@/bin
|
||||||
ExecStart=@foot@/bin/foot --server
|
ExecStart=@foot@/bin/foot --server
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue