1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-18 12:38:30 +02: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 = {
Environment = "PATH=${cfg.package}/bin";
ExecStart = "${cfg.package}/bin/foot --server";
Restart = "on-failure";
};

View File

@ -2,6 +2,7 @@
WantedBy=graphical-session.target
[Service]
Environment=PATH=@foot@/bin
ExecStart=@foot@/bin/foot --server
Restart=on-failure