NixOS-Config/nixos/server.nix

58 lines
1.2 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
./server/lemmy.nix
./server/mailserver.nix
./server/mariadb.nix
./server/mastodon.nix
./server/nextcloud.nix
./server/nfs.nix
./server/nginx.nix
./server/owncast.nix
2024-09-09 17:07:24 -04:00
#./server/pixelfed.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
# Matrix
./server/synapse.nix
./server/element.nix
./server/matrix-discord.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
}