Improve README.

This commit is contained in:
r-vdp 2023-03-29 18:11:12 +02:00
parent 05e9306f21
commit 336db40ad7
No known key found for this signature in database

View file

@ -56,11 +56,7 @@ which should contain a `default.nix` file which functions as the entrance point.
A simple System Manager module could look something like this: A simple System Manager module could look something like this:
```nix ```nix
{ config { config, lib, pkgs, ... }:
, lib
, pkgs
, ...
}:
{ {
config = { config = {
@ -78,6 +74,7 @@ A simple System Manager module could look something like this:
}; };
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
script = '' script = ''
${lib.getBin pkgs.foo}/bin/foo
echo "We launched the rockets!" echo "We launched the rockets!"
''; '';
}; };