Improve README.
This commit is contained in:
parent
05e9306f21
commit
336db40ad7
1 changed files with 2 additions and 5 deletions
|
|
@ -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:
|
||||
|
||||
```nix
|
||||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
config = {
|
||||
|
|
@ -78,6 +74,7 @@ A simple System Manager module could look something like this:
|
|||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
script = ''
|
||||
${lib.getBin pkgs.foo}/bin/foo
|
||||
echo "We launched the rockets!"
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue