add settings for nomad

This commit is contained in:
Andreas Zweili 2022-03-07 22:32:57 +01:00
parent fdb0d398d1
commit 5f52293916
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{ ... }:
{
services.nomad = {
enable = true;
settings = {
client = {
enabled = true;
};
};
enableDocker = true;
networking.firewall.allowedTCPPorts = [ 4646 ];
}

View File

@ -0,0 +1,11 @@
{ ... }:
{
services.nomad = {
enable = true;
settings = {
server = {
enabled = true;
};
};
networking.firewall.allowedTCPPorts = [ 4646 ];
}