marabethia: Initialize new host
This commit is contained in:
parent
0128fd3fa7
commit
ceac7a451a
72 changed files with 332 additions and 193 deletions
36
machines/marabethia/default.nix
Normal file
36
machines/marabethia/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue