NixOS-Config/nixos/server.nix

52 lines
1 KiB
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{
imports = [
# Base configs
./base.nix
2024-08-24 22:16:51 -04:00
2024-08-26 20:45:07 -04:00
# Import users and groups
./users/jimbo.nix
2024-08-24 22:16:51 -04:00
./users/nextcloud.nix
./users/nginx.nix
2024-08-26 20:45:07 -04:00
./users/groups.nix
2024-08-24 22:16:51 -04:00
# Modules
./modules/security.nix
./modules/legacy.nix
2024-08-24 22:16:51 -04:00
# Hardware
./hardware/machines/server.nix
2024-08-25 07:45:05 -04:00
./hardware/systemdboot.nix
2024-08-24 22:16:51 -04:00
# 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
2024-08-24 22:16:51 -04:00
./server/tandoor.nix
./server/vaultwarden.nix
2024-08-26 13:16:17 -04:00
./server/misc.nix
2024-08-27 05:14:19 -04:00
# Matrix
./server/synapse.nix
./server/element.nix
./server/matrix-discord.nix
2024-08-24 22:16:51 -04:00
];
services.openssh.ports = [ 2222 ];
networking.hostName = "JimServer";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
2024-08-24 22:16:51 -04:00
}