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