Skip to content

Commit

Permalink
docs/integration-tests: fix indentation of code block
Browse files Browse the repository at this point in the history
  • Loading branch information
minijackson committed Nov 4, 2024
1 parent 063d5b1 commit 2b98b93
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/ioc/tutorials/integration-tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -285,21 +285,21 @@ Change your Nix test file like this:
important changes emphasized
:emphasize-lines: 1,10-13
nodes.machine = {config, lib, ...}: {
imports = [
epnix.nixosModules.ioc
epnixConfig
];
environment.systemPackages = [pkgs.epnix.epics-base];
systemd.services = {
ioc = config.epnix.nixos.services.ioc.config;
simulator = {
serviceConfig.ExecStart = lib.getExe pkgs.epnix.psu-simulator;
wantedBy = ["multi-user.target"];
};
nodes.machine = {config, lib, ...}: {
imports = [
epnix.nixosModules.ioc
epnixConfig
];
environment.systemPackages = [pkgs.epnix.epics-base];
systemd.services = {
ioc = config.epnix.nixos.services.ioc.config;
simulator = {
serviceConfig.ExecStart = lib.getExe pkgs.epnix.psu-simulator;
wantedBy = ["multi-user.target"];
};
};
};
The first emphasized line is about adding the ``lib`` argument used below.

Expand Down

0 comments on commit 2b98b93

Please sign in to comment.