Merge pull request #43 from a-h/main

docs: add missing attribute to example
This commit is contained in:
Ramses 2023-09-19 14:24:59 +02:00 committed by GitHub
commit ff963b3600
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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!"
''; '';
}; };