Merge pull request #43 from a-h/main
docs: add missing attribute to example
This commit is contained in:
commit
ff963b3600
1 changed files with 4 additions and 1 deletions
|
|
@ -57,6 +57,8 @@ A simple System Manager module could look something like this:
|
|||
|
||||
{
|
||||
config = {
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
environment = {
|
||||
etc = {
|
||||
"foo.conf".text = ''
|
||||
|
|
@ -66,6 +68,7 @@ A simple System Manager module could look something like this:
|
|||
systemPackages = [
|
||||
pkgs.ripgrep
|
||||
pkgs.fd
|
||||
pkgs.hello
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -78,7 +81,7 @@ A simple System Manager module could look something like this:
|
|||
};
|
||||
wantedBy = [ "system-manager.target" ];
|
||||
script = ''
|
||||
${lib.getBin pkgs.foo}/bin/foo
|
||||
${lib.getBin pkgs.hello}/bin/hello
|
||||
echo "We launched the rockets!"
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue