NixOS-Config/nixos/server.nix
2024-09-06 01:18:21 -04:00

53 lines
1.1 KiB
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/vaultwarden.nix
./server/transmission.nix
./server/wireguard.nix
./server/misc.nix
# Matrix
./server/synapse.nix
./server/element.nix
./server/matrix-discord.nix
];
services.openssh.ports = [ 2222 ];
networking.hostName = "JimServer";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
}