inital commit for open ldpa
This commit is contained in:
parent
6c57fa546b
commit
8bfc9f63d5
1 changed files with 40 additions and 0 deletions
40
hosts/openldap-docker.nix
Normal file
40
hosts/openldap-docker.nix
Normal 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";
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue