{ config, pkgs, pkgs-unstable, ... }: { # ops-jrz1 dev/test server configuration # Imports extracted Matrix modules from ops-base imports = [ # Hardware configuration will be added based on server specs # ./hardware-configuration.nix # Matrix platform modules ../modules/matrix-continuwuity.nix ../modules/mautrix-slack.nix ../modules/mautrix-whatsapp.nix ../modules/mautrix-gmessages.nix ../modules/dev-services.nix ../modules/security/fail2ban.nix ../modules/security/ssh-hardening.nix ../modules/matrix-secrets ]; # System configuration networking.hostName = "ops-jrz1"; # Example Matrix homeserver configuration (disabled by default) # Uncomment and configure for actual deployment: # services.matrix-homeserver = { # enable = true; # domain = "matrix.example.org"; # port = 8008; # enableRegistration = true; # enableFederation = false; # }; # Example mautrix-slack bridge configuration (disabled by default) # services.mautrix-slack = { # enable = true; # matrix = { # homeserverUrl = "http://127.0.0.1:8008"; # serverName = "matrix.example.org"; # }; # bridge = { # permissions = { # "matrix.example.org" = "user"; # "@admin:matrix.example.org" = "admin"; # }; # }; # }; system.stateVersion = "24.05"; }