30 lines
618 B
Nix
30 lines
618 B
Nix
{ lib, modulesPath, ... }:
|
|
let
|
|
moduleList = import "${modulesPath}/module-list.nix";
|
|
|
|
dynixFromSearchPath = let
|
|
res = builtins.tryEval <dynix>;
|
|
in lib.optional res.success res.value;
|
|
in
|
|
{
|
|
imports = [
|
|
#"${modulesPath}/testing/test-instrumentation.nix"
|
|
#./hardware-configuration.nix
|
|
] ++ lib.concatLists [
|
|
#dynixFromSearchPath
|
|
moduleList
|
|
];
|
|
|
|
dynamicism.for.harmonia.enable = true;
|
|
services.harmonia = {
|
|
enable = true;
|
|
settings = {
|
|
# Default.
|
|
workers = 4;
|
|
# Default.
|
|
max_connection_rate = 256;
|
|
};
|
|
};
|
|
|
|
networking.hostName = "harmonia-machine";
|
|
}
|