diff --git a/hosts/openldap-docker.nix b/hosts/openldap-docker.nix new file mode 100644 index 0000000..67173d3 --- /dev/null +++ b/hosts/openldap-docker.nix @@ -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"; + +} \ No newline at end of file