Compare commits
9 commits
Author | SHA1 | Date | |
---|---|---|---|
|
eac4f5b33e | ||
|
d0b638d69f | ||
|
813a1d19f8 | ||
|
ddbba09441 | ||
|
6ede452d66 | ||
|
90743df27b | ||
|
2ed4b71940 | ||
|
bcd777d425 | ||
|
c79c8413f2 |
4 changed files with 46 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./services/murmur.nix
|
./services/murmur.nix
|
||||||
./services/mail.nix
|
./services/mail.nix
|
||||||
|
./services/sympa.nix
|
||||||
# ./services/engelsystem.nix
|
# ./services/engelsystem.nix
|
||||||
./services/codimd.nix
|
./services/codimd.nix
|
||||||
../../common
|
../../common
|
||||||
|
|
|
@ -11,7 +11,7 @@ in {
|
||||||
mailDirectory = "/data/mail";
|
mailDirectory = "/data/mail";
|
||||||
enable = true;
|
enable = true;
|
||||||
fqdn = "mail.hacc.space";
|
fqdn = "mail.hacc.space";
|
||||||
domains = [ "hacc.space" "hacc.earth" "4future.dev" "4futu.re" "infra4future.de" "discuss.infra4future.de" ];
|
domains = [ "hacc.space" "hacc.earth" "4future.dev" "4futu.re" "infra4future.de" "discuss.infra4future.de" "lists.hacc.space" "lists.infra4future.de" ];
|
||||||
|
|
||||||
loginAccounts = {
|
loginAccounts = {
|
||||||
"hexchen@hacc.space" = {
|
"hexchen@hacc.space" = {
|
||||||
|
|
14
hosts/hainich/services/sympa.nix
Normal file
14
hosts/hainich/services/sympa.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.sympa = {
|
||||||
|
enable = true;
|
||||||
|
mta.type = "none";
|
||||||
|
lang = "de";
|
||||||
|
domains."lists.infra4future.de".webHost = "lists.infra4future.de";
|
||||||
|
domains."lists.hacc.space".webHost = "lists.hacc.space";
|
||||||
|
listMasters = [ "postmaster@hacc.space" ];
|
||||||
|
mainDomain = "lists.infra4future.de";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
30
hosts/hainich/services/syncthing.nix
Normal file
30
hosts/hainich/services/syncthing.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
relay.enable = false;
|
||||||
|
openDefaultPorts = true;
|
||||||
|
declarative = {
|
||||||
|
devices = {
|
||||||
|
txsbcct = {
|
||||||
|
addresses = []; # empty = dynamic
|
||||||
|
id = "A6SRBZL-CP627PX-4QA55B7-QKJXOMO-UJDXQIV-77OK57V-RXO3CUQ-JIHX7AC";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
folders = {
|
||||||
|
"/var/lib/syncthing/hacc" = {
|
||||||
|
id = "qt2ly-xvvvs";
|
||||||
|
devices = [ "txsbcct" ];
|
||||||
|
type = "receiveonly";
|
||||||
|
versioning = {
|
||||||
|
type = "simple";
|
||||||
|
params.keep = "10";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue