mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
amazon-init: include the general system's software and wrappers in PATH
It is surprising that software which was installed by the user at AMI generation time isn't available to a script run over user data by default. When authoring user data to execute at startup, users will now have more predictable access to baked-in software instead of an extremely bare-minimum set currently there.
This commit is contained in:
parent
67c8a5983c
commit
76b614be39
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,11 @@ in {
|
|||
after = [ "multi-user.target" ];
|
||||
requires = [ "network-online.target" ];
|
||||
|
||||
path = [
|
||||
"/run/wrappers"
|
||||
"/run/current-system/sw"
|
||||
];
|
||||
|
||||
restartIfChanged = false;
|
||||
unitConfig.X-StopOnRemoval = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue