urithiru & elendel: Migrate data leader
Some checks failed
Some checks failed
This commit is contained in:
parent
ba11d37384
commit
bde1176045
4 changed files with 15 additions and 16 deletions
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue