All checks were successful
Cachix / build (elendel) (push) Successful in 1m2s
Cachix / build (kholinar) (push) Successful in 2m0s
Cachix / build (lasting-integrity) (push) Successful in 1m25s
Cachix / build (marabethia) (push) Successful in 1m17s
Cachix / build (urithiru) (push) Successful in 1m17s
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./hardware.nix ];
|
|
|
|
time.timeZone = "Europe/Brussels";
|
|
|
|
networking = {
|
|
hostId = "338495bc";
|
|
useDHCP = false;
|
|
};
|
|
|
|
systemd.network = {
|
|
enable = true;
|
|
networks."enp7s0" = {
|
|
enable = true;
|
|
matchConfig = { Name = "enp7s0"; };
|
|
address = [
|
|
"37.27.113.55/26"
|
|
"2a01:4f9:3070:2382::/64"
|
|
];
|
|
gateway = [ "37.27.113.1" ];
|
|
routes = [
|
|
{
|
|
Gateway = "fe80::1";
|
|
GatewayOnLink = true;
|
|
}
|
|
];
|
|
dns = [
|
|
"1.1.1.1"
|
|
"1.0.0.1"
|
|
"2606:4700:4700::1111"
|
|
"2606:4700:4700::1001"
|
|
];
|
|
};
|
|
};
|
|
|
|
chvp = {
|
|
stateVersion = "24.11";
|
|
base = {
|
|
nix.enableDirenv = true;
|
|
zfs = {
|
|
enable = true;
|
|
backups = [
|
|
{
|
|
path = "zroot/safe/data";
|
|
remotePath = "zroot/recv/elendel/safe/data";
|
|
fast = true;
|
|
location = "marabethia.vanpetegem.me";
|
|
}
|
|
];
|
|
rootDataset = "zroot/local/root";
|
|
rootPool = "zroot";
|
|
};
|
|
};
|
|
services.git.runner.enable = true;
|
|
};
|
|
}
|