forked from Fachschaft/nixConfig
39 lines
797 B
Nix
39 lines
797 B
Nix
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/mail.nix
|
|
../../roles
|
|
../../roles/vm.nix
|
|
../../modules/vmNetwork.nix
|
|
];
|
|
|
|
# System configuration here
|
|
|
|
services.mathebau-mail = {
|
|
enable = true;
|
|
fqdn = "fb04184.mathematik.tu-darmstadt.de";
|
|
domain = "koma89.tu-darmstadt.de";
|
|
siteOwner = "root@mathebau.de";
|
|
};
|
|
|
|
networking.hostName = "kaalut";
|
|
vmNetwork.ipv4 = "192.168.0.17";
|
|
system.stateVersion = "24.11";
|
|
|
|
/*
|
|
sops.secrets = {
|
|
allowlistPass = {
|
|
sopsFile = ./allowlistPass.yaml;
|
|
owner = "stalwart-mail";
|
|
group = "stalwart-mail";
|
|
mode = "0400";
|
|
};
|
|
backupKey = {
|
|
sopsFile = ./backupKey.yaml;
|
|
owner = "stalwart-mail";
|
|
group = "stalwart-mail";
|
|
mode = "0400";
|
|
};
|
|
};
|
|
*/
|
|
}
|