nixos-config/machines/lasting-integrity/default.nix
Charlotte Van Petegem aa0476874e
All checks were successful
Cachix / build (elendel) (push) Successful in 1m16s
Cachix / build (kholinar) (push) Successful in 2m10s
Cachix / build (lasting-integrity) (push) Successful in 1m7s
Cachix / build (marabethia) (push) Successful in 1m31s
Cachix / build (urithiru) (push) Successful in 1m20s
matrix-synapse: Move to marabethia
2024-11-11 18:59:52 +01:00

45 lines
995 B
Nix

{ pkgs, ... }:
{
imports = [ ./hardware.nix ];
time.timeZone = "Europe/Berlin";
networking.hostId = "b352adfe";
# Machine-specific module settings
chvp = {
stateVersion = "20.09";
base = {
network = {
ovh = {
enable = true;
publicIPV4 = {
ip = "54.38.222.69";
gateway = "54.38.222.254";
};
publicIPV6 = {
ip = "2001:41d0:0700:1445::";
gateway = "2001:41d0:0700:14ff:ff:ff:ff:ff";
};
internalIPV4 = "192.168.0.2";
};
wireguard.server = true;
};
nix.enableDirenv = false;
zfs = {
enable = true;
backups = [
{
path = "zroot/safe/data";
remotePath = "zdata/recv/lasting-integrity/safe/data";
fast = true;
location = "192.168.0.1";
}
];
rootDataset = "zroot/local/root";
rootPool = "zroot";
};
};
};
}