remove e11sync

This commit is contained in:
2024-07-16 06:14:22 +03:00
parent f47b8d09f8
commit 40bf9c4ab5
5 changed files with 0 additions and 91 deletions

View File

@@ -1,7 +1,6 @@
{
lib,
config,
pkgs,
myData,
modulesPath,
...
@@ -49,20 +48,6 @@
enable = true;
mountpoints = ["/var/lib"];
};
zfsborg = {
enable = true;
passwordPath = config.age.secrets.borgbackup-password.path;
sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
dirs = [
{
mountpoint = "/var/lib";
repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-var_lib";
paths = ["private/e11sync-backend"];
backup_at = "*-*-* 01:00:00 UTC";
}
];
};
};
services = {
@@ -111,13 +96,6 @@
};
};
e11sync = {
enable = true;
migrateOnStart = true;
secretKeyPath = config.age.secrets.e11sync-secret-key.path;
vhost = "11sync.net";
};
services = {
caddy = {
enable = true;
@@ -134,12 +112,6 @@
"11sync.net".extraConfig = lib.mkForce ''
redir https://jakstys.lt/2024/11sync-shutdown/
'';
"http://admin.11sync.net".extraConfig = ''
@denied not remote_ip ${myData.subnets.tailscale.cidr}
redir / /admin/
${builtins.readFile "${pkgs.e11sync-caddyfile}"}
'';
};
};