feat(ami): set up murmur

This commit is contained in:
buffet 2024-05-01 14:30:23 +02:00
parent e3eb64b3bb
commit 8aadbf24e5
3 changed files with 17 additions and 0 deletions

View file

@ -6,6 +6,7 @@ _: {
extraDomainNames = [
"404.buffet.sh"
"bitwarden.buffet.sh"
"rap.buffet.sh"
"buffets.kitchen"
];
};

View file

@ -15,6 +15,7 @@
./borg.nix
./disk-config.nix
./forgejo.nix
./murmur.nix
./website.nix
../../users/maintainer

15
hosts/ami/murmur.nix Normal file
View file

@ -0,0 +1,15 @@
_: {
services.murmur = {
enable = true;
openFirewall = true;
hostName = "";
welcometext = "Goooooood Morning New Eden!";
registerName = "new-eden";
password = "new-eden";
bandwidth = 128000;
sslKey = "/var/lib/acme/buffet.sh/key.pem";
sslCert = "/var/lib/acme/buffet.sh/fullchain.pem";
};
security.acme.certs."buffet.sh".postRun = "setfacl -Rm u:murmur:rX /var/lib/acme/buffet.sh";
}