2024-08-24 22:16:51 -04:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
# Base configs
|
2024-08-29 14:15:26 -04:00
|
|
|
./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-09-07 12:50:37 -04:00
|
|
|
./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
|
2024-09-03 01:01:58 -04:00
|
|
|
./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
|
2024-09-07 00:38:19 -04:00
|
|
|
./server/icecast.nix
|
2024-08-24 22:16:51 -04:00
|
|
|
./server/firewall.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
|
2024-08-30 01:17:50 -04:00
|
|
|
./server/minecraft
|
2024-08-24 22:16:51 -04:00
|
|
|
./server/vaultwarden.nix
|
2024-09-04 20:22:13 -04:00
|
|
|
./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
|
2024-09-10 15:07:31 -04:00
|
|
|
./server/coturn.nix
|
2024-08-27 05:14:19 -04:00
|
|
|
./server/matrix-discord.nix
|
2024-09-10 15:07:31 -04:00
|
|
|
|
|
|
|
# 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
|
2024-08-26 13:07:59 -04:00
|
|
|
networking.hostName = "JimServer";
|
2024-09-03 14:15:33 -04:00
|
|
|
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
|
|
system.stateVersion = "24.05";
|
2024-08-24 22:16:51 -04:00
|
|
|
}
|