bwa
This commit is contained in:
parent
bd3ded3f48
commit
d00f30acfa
|
@ -16,6 +16,7 @@ in {
|
||||||
./wallabag.nix
|
./wallabag.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
|
./mautrix.nix
|
||||||
# ./thymis.nix
|
# ./thymis.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -80,9 +81,13 @@ in {
|
||||||
defaults.email = "tasiaiso@proton.me";
|
defaults.email = "tasiaiso@proton.me";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"olm-3.2.16"
|
||||||
|
];
|
||||||
|
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
networking.domain = "";
|
networking.domain = "vulpecula.zone";
|
||||||
# users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLyDLtqUhEQwIsPx0XgQ9OJb2+XxL+2ra4goNJEgwf0 tasia@cave'' ];
|
# users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLyDLtqUhEQwIsPx0XgQ9OJb2+XxL+2ra4goNJEgwf0 tasia@cave'' ];
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
49
hosts/vulpecula-vps/mautrix.nix
Normal file
49
hosts/vulpecula-vps/mautrix.nix
Normal 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";
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
# }
|
Loading…
Reference in a new issue