feat(ami): set up murmur
This commit is contained in:
parent
e3eb64b3bb
commit
8aadbf24e5
3 changed files with 17 additions and 0 deletions
|
@ -6,6 +6,7 @@ _: {
|
||||||
extraDomainNames = [
|
extraDomainNames = [
|
||||||
"404.buffet.sh"
|
"404.buffet.sh"
|
||||||
"bitwarden.buffet.sh"
|
"bitwarden.buffet.sh"
|
||||||
|
"rap.buffet.sh"
|
||||||
"buffets.kitchen"
|
"buffets.kitchen"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
./borg.nix
|
./borg.nix
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
|
./murmur.nix
|
||||||
./website.nix
|
./website.nix
|
||||||
|
|
||||||
../../users/maintainer
|
../../users/maintainer
|
||||||
|
|
15
hosts/ami/murmur.nix
Normal file
15
hosts/ami/murmur.nix
Normal 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";
|
||||||
|
}
|
Loading…
Reference in a new issue