add service information to mine.shared.meta
This commit is contained in:
parent
74ff08576a
commit
280ad7013d
5 changed files with 81 additions and 0 deletions
|
@ -26,12 +26,31 @@ in {
|
|||
# add murmur user to domain group to access cert
|
||||
users.groups.main-domain.members = [ config.users.groups.murmur.name ];
|
||||
|
||||
# secrets
|
||||
age.secrets = {
|
||||
murmur-env.owner = config.users.users.murmur.name;
|
||||
murmur-superpassword.owner = config.users.users.murmur.name;
|
||||
};
|
||||
|
||||
# persistence
|
||||
environment.persistence.root.directories = [
|
||||
"/var/lib/murmur"
|
||||
];
|
||||
|
||||
# meta information about the service.
|
||||
mine.shared.meta.murmur = {
|
||||
name = "Mumble";
|
||||
description = "We host our own mumble server at, which you're welcome to join. The password is {{secrets.MURMUR_PASSWORD}}.";
|
||||
url = "mumble://${svc_domain}";
|
||||
|
||||
secrets.auth = config.age.secrets.murmur-env.path;
|
||||
|
||||
package = let
|
||||
pkg = config.services.murmur.package;
|
||||
in {
|
||||
name = pkg.pname;
|
||||
version = pkg.version;
|
||||
meta = pkg.meta;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue