2023-02-07 20:01:42 +01:00
|
|
|
{ lib, pkgs, config, ... }: {
|
2023-07-28 10:31:36 +02:00
|
|
|
cj.deployment.environment = "dev";
|
2022-12-11 16:53:35 +01:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hardware-config.nix
|
|
|
|
../../services/mumble.nix
|
|
|
|
../../services/website.nix
|
2023-06-07 14:28:00 +02:00
|
|
|
../../services/matrix
|
2022-12-24 01:27:40 +01:00
|
|
|
../../services/vaultwarden.nix
|
2022-12-30 14:19:14 +01:00
|
|
|
../../services/dokuwiki.nix
|
2023-01-06 18:29:58 +01:00
|
|
|
../../services/freescout.nix
|
2023-07-24 16:54:48 +02:00
|
|
|
../../services/hedgedoc.nix
|
2022-12-11 16:53:35 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
networking.hostName = "goldberg";
|
|
|
|
|
2023-07-28 11:45:39 +02:00
|
|
|
networking = {
|
|
|
|
# Fallback / for the monitoring v(x)lan
|
|
|
|
useDHCP = true;
|
|
|
|
defaultGateway = { address = "172.31.1.1"; interface = "ens3"; };
|
|
|
|
defaultGateway6 = { address = "fe80::1"; interface = "ens3"; };
|
|
|
|
nameservers = [ "213.133.98.98" "213.133.99.99" "213.133.100.100" ];
|
|
|
|
|
|
|
|
interfaces.ens3 = {
|
|
|
|
useDHCP = false;
|
|
|
|
ipv4.addresses = [ { address = "5.75.181.252"; prefixLength = 32; } ];
|
|
|
|
ipv6.addresses = [ { address = "2a01:4f8:1c1e:9e75::1"; prefixLength = 64; } ];
|
|
|
|
};
|
|
|
|
};
|
2022-12-11 16:53:35 +01:00
|
|
|
|
|
|
|
services.murmur = {
|
|
|
|
registerPassword = lib.mkForce "";
|
|
|
|
environmentFile = lib.mkForce null;
|
|
|
|
};
|
2023-02-07 20:01:42 +01:00
|
|
|
|
|
|
|
# This is specific to every host!
|
|
|
|
systemd.mounts = [{
|
|
|
|
what = "/dev/disk/by-id/scsi-0HC_Volume_27793580";
|
|
|
|
where = config.services.matrix-synapse.settings.media_store_path;
|
|
|
|
type = "ext4";
|
|
|
|
options = "discard,nofail,defaults";
|
|
|
|
wantedBy = [ "multi-user.target" ];
|
|
|
|
}];
|
2022-12-11 16:53:35 +01:00
|
|
|
}
|