NixOS configuration for HPC cluster
https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
413 B
19 lines
413 B
{ pkgs, lib, config, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
systemd.services."opensm" = {
|
|
unitConfig = {
|
|
Before = [ "network.target" "remote-fs-pre.target" ];
|
|
ConditionPathExists = [ "/sys/class/infiniband_mad/abi_version" ];
|
|
};
|
|
|
|
serviceConfig = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.opensm}/bin/opensm --guid '0x0002c9030052188b'";
|
|
};
|
|
|
|
wantedBy = [ "network-online.target" ];
|
|
};
|
|
}
|