2023-10-12 00:27:24 +05:30
|
|
|
{pkgs, ...}: {
|
|
|
|
imports = [
|
|
|
|
./hardware.nix
|
|
|
|
../../modules/commons
|
|
|
|
../../modules/nixos/core-server.nix
|
|
|
|
../../modules/nixos/user-group.nix
|
|
|
|
../../modules/programs/nixvim
|
2023-10-20 13:34:03 +05:30
|
|
|
../../modules/programs/nomad
|
2023-10-12 00:27:24 +05:30
|
|
|
];
|
|
|
|
|
2023-10-20 13:34:03 +05:30
|
|
|
environment.systemPackages = with pkgs; [tailscale];
|
2023-10-18 19:26:25 +05:30
|
|
|
|
2023-10-12 00:27:24 +05:30
|
|
|
services = {
|
|
|
|
unifi = {
|
|
|
|
enable = true;
|
|
|
|
unifiPackage = pkgs.unifi7;
|
|
|
|
maximumJavaHeapSize = 256;
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|