NixOS-Config/nixos/server.nix

66 lines
1.3 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
./users/liquidsoap.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
2024-09-05 00:48:52 -04:00
./server/ddclient.nix
./server/icecast.nix
2024-08-24 22:16:51 -04:00
./server/firewall.nix
./server/gitea.nix
2024-09-20 02:30:50 -04:00
./server/forgejo.nix
2024-08-24 22:16:51 -04:00
./server/mailserver.nix
./server/mariadb.nix
./server/nginx.nix
./server/owncast.nix
2024-09-10 14:45:28 -04:00
./server/photoprism.nix
./server/minecraft
2024-08-24 22:16:51 -04:00
./server/vaultwarden.nix
./server/transmission.nix
2024-09-06 01:18:21 -04:00
./server/wireguard.nix
2024-08-26 13:16:17 -04:00
./server/misc.nix
2024-08-27 05:14:19 -04:00
2024-09-11 00:59:16 -04:00
# File server
./server/nextcloud.nix
./server/nfs.nix
./server/samba.nix
2024-08-27 05:14:19 -04:00
# Matrix
./server/synapse.nix
./server/element.nix
./server/coturn.nix
2024-08-27 05:14:19 -04:00
./server/matrix-discord.nix
# Federation
./server/lemmy.nix
./server/mastodon.nix
2024-09-11 15:57:29 -04:00
./server/pixelfed.nix
2024-08-24 22:16:51 -04:00
];
2024-09-08 21:45:54 -04:00
# Set custom openssh port
2024-08-24 22:16:51 -04:00
services.openssh.ports = [ 2222 ];
2024-09-08 21:45:54 -04:00
# Set hostname
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
}