1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +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:
lunik1 2021-06-02 00:24:59 +01:00 committed by GitHub
parent 2a4ab0d891
commit cb227dc6c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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";
}; };

View file

@ -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