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 = {
|
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!"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue