mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
nixos/lib/systemd-lib.nix: move comment back down to packages
https://github.com/NixOS/nixpkgs/pull/164943#discussion_r833215903
This commit is contained in:
parent
e3083decc4
commit
fc91cdb5bc
@ -293,7 +293,7 @@ in rec {
|
||||
|
||||
mkServiceConfig = path: { name, config, ... }: {
|
||||
config = mkMerge
|
||||
[ { # Default path for systemd services. Should be quite minimal.
|
||||
[ {
|
||||
path = mkAfter path;
|
||||
environment.PATH = mkIf (config.path != []) "${makeBinPath config.path}:${makeSearchPathOutput "bin" "sbin" config.path}";
|
||||
}
|
||||
@ -324,6 +324,7 @@ in rec {
|
||||
];
|
||||
};
|
||||
|
||||
# Default path for systemd services. Should be quite minimal.
|
||||
serviceConfig = mkServiceConfig [
|
||||
pkgs.coreutils
|
||||
pkgs.findutils
|
||||
|
Loading…
Reference in New Issue
Block a user