flakes/machines/trench/default.nix
Chinmay D. Pai 34fd33ad87
feat: add module for nomad
add a nix module for setting up nomad server/client
remove explicitly installed nomad package

Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
2023-10-20 13:36:29 +05:30

24 lines
474 B
Nix

{pkgs, ...}: {
imports = [
./hardware.nix
../../modules/commons
../../modules/nixos/core-server.nix
../../modules/nixos/user-group.nix
../../modules/programs/nixvim
../../modules/programs/nomad
];
environment.systemPackages = with pkgs; [tailscale];
services = {
unifi = {
enable = true;
unifiPackage = pkgs.unifi7;
maximumJavaHeapSize = 256;
openFirewall = true;
};
};
system.stateVersion = "23.05";
}