nixos/chatterbox: Add Heisenbridge
This commit is contained in:
parent
24d3458af2
commit
def3d440d0
@ -129,6 +129,24 @@
|
|||||||
allow_guest_access = false;
|
allow_guest_access = false;
|
||||||
|
|
||||||
signing_key_path = config.age.secrets."chatterbox/nul.ie.signing.key".path;
|
signing_key_path = config.age.secrets."chatterbox/nul.ie.signing.key".path;
|
||||||
|
|
||||||
|
app_service_config_files = [
|
||||||
|
"/var/lib/heisenbridge/registration.yml"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
heisenbridge = {
|
||||||
|
enable = true;
|
||||||
|
homeserver = "http://localhost:8008";
|
||||||
|
owner = "@dev:nul.ie";
|
||||||
|
namespaces = {
|
||||||
|
users = [
|
||||||
|
{
|
||||||
|
exclusive = true;
|
||||||
|
regex = "@irc_.*";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -317,6 +317,15 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
(mkIf config.services.heisenbridge.enable {
|
||||||
|
my.tmproot.persistence.config.directories = [
|
||||||
|
{
|
||||||
|
directory = "/var/lib/heisenbridge";
|
||||||
|
user = "heisenbridge";
|
||||||
|
group = "heisenbridge";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
})
|
||||||
(mkIf config.my.build.isDevVM {
|
(mkIf config.my.build.isDevVM {
|
||||||
fileSystems = mkVMOverride {
|
fileSystems = mkVMOverride {
|
||||||
# Hijack the "root" device for persistence in the VM
|
# Hijack the "root" device for persistence in the VM
|
||||||
|
Loading…
Reference in New Issue
Block a user