docs: add missing attribute to example

This commit is contained in:
Adrian Hesketh 2023-09-19 12:08:44 +01:00
parent e8957ab8b4
commit 4781ff2c0a
No known key found for this signature in database
GPG key ID: 9E01387222323123

View file

@ -57,6 +57,8 @@ A simple System Manager module could look something like this:
{ {
config = { config = {
nixpkgs.hostPlatform = "x86_64-linux";
environment = { environment = {
etc = { etc = {
"foo.conf".text = '' "foo.conf".text = ''
@ -66,6 +68,7 @@ A simple System Manager module could look something like this:
systemPackages = [ systemPackages = [
pkgs.ripgrep pkgs.ripgrep
pkgs.fd pkgs.fd
pkgs.hello
]; ];
}; };
@ -78,7 +81,7 @@ A simple System Manager module could look something like this:
}; };
wantedBy = [ "system-manager.target" ]; wantedBy = [ "system-manager.target" ];
script = '' script = ''
${lib.getBin pkgs.foo}/bin/foo ${lib.getBin pkgs.hello}/bin/hello
echo "We launched the rockets!" echo "We launched the rockets!"
''; '';
}; };