This commit is contained in:
Tasia Iso 2025-02-03 00:47:36 +01:00
parent bd3ded3f48
commit d00f30acfa
Signed by: tasiaiso
SSH key fingerprint: SHA256:KiRjUay5C9i6objsEOIycygBHn54pDBB3Lj7fyJ0Elw
2 changed files with 55 additions and 1 deletions

View file

@ -16,6 +16,7 @@ in {
./wallabag.nix
./nextcloud.nix
./vaultwarden.nix
./mautrix.nix
# ./thymis.nix
];
@ -80,9 +81,13 @@ in {
defaults.email = "tasiaiso@proton.me";
};
nixpkgs.config.permittedInsecurePackages = [
"olm-3.2.16"
];
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.domain = "";
networking.domain = "vulpecula.zone";
# users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLyDLtqUhEQwIsPx0XgQ9OJb2+XxL+2ra4goNJEgwf0 tasia@cave'' ];
system.stateVersion = "24.05";
}

View file

@ -0,0 +1,49 @@
{...}: {
services.mautrix-whatsapp.enable = true;
# services.mautrix-whatsapp.environmentFile = "";
# services.mautrix-whatsapp.settings = ;
}
# {
# appservice = {
# as_token = "";
# bot = {
# displayname = "WhatsApp Bridge Bot";
# username = "whatsappbot";
# };
# database = {
# type = "sqlite3";
# uri = "/var/lib/mautrix-whatsapp/mautrix-whatsapp.db";
# };
# hostname = "[::]";
# hs_token = "";
# id = "whatsapp";
# port = 29318;
# };
# bridge = {
# command_prefix = "!wa";
# displayname_template = "{{if .BusinessName}}{{.BusinessName}}{{else if .PushName}}{{.PushName}}{{else}}{{.JID}}{{end}} (WA)";
# double_puppet_server_map = { };
# login_shared_secret_map = { };
# permissions = {
# "*" = "relay";
# };
# relay = {
# enabled = true;
# };
# username_template = "whatsapp_{{.}}";
# };
# homeserver = {
# address = "http://localhost:8448";
# };
# logging = {
# min_level = "info";
# writers = [
# {
# format = "pretty-colored";
# time_format = " ";
# type = "stdout";
# }
# ];
# };
# }