marabethia: Initialize new host

This commit is contained in:
Charlotte Van Petegem 2024-11-09 21:26:40 +01:00
parent 0128fd3fa7
commit ceac7a451a
No known key found for this signature in database
GPG key ID: 019E764B7184435A
72 changed files with 332 additions and 193 deletions

View file

@ -0,0 +1,36 @@
{ pkgs, ... }:
{
imports = [ ./hardware.nix ];
time.timeZone = "Europe/Brussels";
networking.hostId = "10a4250f";
chvp = {
stateVersion = "24.11";
base = {
network = {
ovh = {
enable = true;
publicInterface = "eno1";
publicIPV4 = {
ip = "162.19.60.238";
gateway = "162.19.60.254";
};
publicIPV6 = {
ip = "2001:41d0:203:cdee::";
gateway = "2001:41d0:0203:cdff:00ff:00ff:00ff:00ff";
};
internalInterface = "eno2";
internalIPV4 = "192.168.0.3";
};
};
nix.enableDirenv = true;
zfs = {
enable = true;
rootDataset = "zroot/local/root";
};
};
};
}