NixOS-Config/nixos/server.nix

49 lines
962 B
Nix

{
imports = [
# Base configs
./base.nix
# Import users and groups
./users/jimbo.nix
./users/nextcloud.nix
./users/nginx.nix
./users/groups.nix
# Modules
./modules/security.nix
./modules/legacy.nix
# Hardware
./hardware/machines/server.nix
./hardware/systemdboot.nix
# Services
./services/openssh.nix
./server/acme.nix
./server/ddclient.nix
./server/docker.nix
./server/firewall.nix
./server/gitea.nix
./server/lemmy.nix
./server/mailserver.nix
./server/mariadb.nix
./server/mastodon.nix
./server/nextcloud.nix
./server/nfs.nix
./server/nginx.nix
./server/owncast.nix
./server/minecraft
./server/tandoor.nix
./server/vaultwarden.nix
./server/misc.nix
# Matrix
./server/synapse.nix
./server/element.nix
./server/matrix-discord.nix
];
services.openssh.ports = [ 2222 ];
networking.hostName = "JimServer";
}