inital commit for open ldpa

This commit is contained in:
arouzing 2023-02-04 00:42:37 -05:00
parent 6c57fa546b
commit 8bfc9f63d5

40
hosts/openldap-docker.nix Normal file
View file

@ -0,0 +1,40 @@
{ config, pkgs, lib, ... }:
{
imports =
[ # Include the results of the hardware scan.
# ../.modules/base/hardware.nix
../.modules/services/docker.nix
../.modules/users/arouzing.nix
../.modules/user/speccon18.nix
../.modules/services/openssh.nix
];
# base packages
environment.systemPackages = with pkgs; [
htop
vim
# sleep
tailscale
];
networking = {
firewall.checkReversePath = "loose";
hostName = "openldap"; # Define your hostname.
# networkmanager.enable = true;
};
# services.tailscale.enable = true;
time.timeZone = "America/New_York";
# Open ports in the firewall.
networking.firewall = {
enable = true;
allowedTCPPorts = [];
allowedUDPPorts = [];
};
## main services
system.stateVersion = "22.11";
}