urithiru & elendel: Migrate data leader
Some checks failed
Cachix / build (elendel) (push) Waiting to run
Cachix / build (marabethia) (push) Waiting to run
Cachix / build (urithiru) (push) Waiting to run
Cachix / build (kholinar) (push) Successful in 1m56s
Cachix / build (lasting-integrity) (push) Has been cancelled

This commit is contained in:
Charlotte Van Petegem 2024-12-04 11:10:48 +01:00
parent ba11d37384
commit bde1176045
4 changed files with 15 additions and 16 deletions

View file

@ -48,11 +48,20 @@
fast = true; fast = true;
location = "marabethia.vanpetegem.me"; location = "marabethia.vanpetegem.me";
} }
{
path = "zdata/safe/data";
remotePath = "zdata/data";
fast = false;
location = "socrates.machines.robbevp.be";
}
]; ];
rootDataset = "zroot/local/root"; rootDataset = "zroot/local/root";
rootPool = "zroot"; rootPool = "zroot";
}; };
}; };
services.git.runner.enable = true; services = {
git.runner.enable = true;
torrents.enable = true;
};
}; };
} }

View file

@ -63,6 +63,10 @@
device = "zroot/local/services/docker"; device = "zroot/local/services/docker";
fsType = "zfs"; fsType = "zfs";
}; };
"/var/lib/transmission" = {
device = "zroot/safe/services/transmission";
fsType = "zfs";
};
"/var/lib/private/gitea-runner" = { "/var/lib/private/gitea-runner" = {
device = "zroot/local/services/gitea-runner"; device = "zroot/local/services/gitea-runner";
fsType = "zfs"; fsType = "zfs";

View file

@ -41,12 +41,6 @@
fast = true; fast = true;
location = "elendel.vanpetegem.me"; location = "elendel.vanpetegem.me";
} }
{
path = "zdata/data";
remotePath = "zdata/safe/data";
fast = false;
location = "elendel.vanpetegem.me";
}
]; ];
rootDataset = "zroot/local/root"; rootDataset = "zroot/local/root";
rootPool = "zroot"; rootPool = "zroot";
@ -54,14 +48,6 @@
}; };
services = { services = {
accentor.enable = true; accentor.enable = true;
containers.externalInterface = "eno3";
data-access.enable = true;
}; };
}; };
services.znapzend.zetup."zdata/data".destinations."socrates.machines.robbevp.be" = {
plan = "1day=>1hour,1week=>1day,4week=>1week,1year=>1month,10year=>6month";
host = "socrates.machines.robbevp.be";
dataset = "zdata/data";
};
} }

View file

@ -31,7 +31,7 @@
package = pkgs.transmission_4; package = pkgs.transmission_4;
user = "charlotte"; user = "charlotte";
group = "users"; group = "users";
home = "/data/var/lib/transmission"; home = "/var/lib/transmission";
openRPCPort = false; openRPCPort = false;
openPeerPorts = true; openPeerPorts = true;
credentialsFile = config.age.secrets."files/programs/transmission/config.json".path; credentialsFile = config.age.secrets."files/programs/transmission/config.json".path;