nixos-config/machines/urithiru/default.nix
Charlotte Van Petegem bde1176045
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
urithiru & elendel: Migrate data leader
2024-12-04 11:10:48 +01:00

53 lines
1.2 KiB
Nix

{ lib, pkgs, nixosConfigurations, ... }:
{
imports = [ ./hardware.nix ];
time.timeZone = "Europe/Berlin";
networking.hostId = "079e60ba";
chvp = {
stateVersion = "20.09";
base = {
nix = {
enableDirenv = false;
slowGc = true;
};
network.ovh = {
enable = true;
publicIPV4 = {
ip = "193.70.44.178";
gateway = "193.70.44.254";
};
publicIPV6 = {
ip = "2001:41d0:0303:0ab2::";
gateway = "2001:41d0:0303:0aff:ff:ff:ff:ff";
};
internalIPV4 = "192.168.0.1";
};
zfs = {
enable = true;
backups = [
{
path = "zroot/safe/data";
remotePath = "zdata/recv/urithiru/safe/data";
fast = true;
location = "192.168.0.2";
}
{
path = "zdata/big-apps/accentor";
remotePath = "zdata/local/services/accentor-transcode-cache";
fast = true;
location = "elendel.vanpetegem.me";
}
];
rootDataset = "zroot/local/root";
rootPool = "zroot";
};
};
services = {
accentor.enable = true;
};
};
}