38 lines
684 B
Nix
38 lines
684 B
Nix
{ config, pkgs, lib, system, ... }:
|
|
|
|
{
|
|
config = {
|
|
homelab = {
|
|
apps.gitea.enable = true;
|
|
virtualisation.guest.enable = true;
|
|
};
|
|
|
|
networking = {
|
|
hostId = "aaaa1500";
|
|
domain = "depeuter.dev";
|
|
|
|
enableIPv6 = true;
|
|
|
|
useDHCP = false;
|
|
defaultGateway = {
|
|
address = "192.168.0.1";
|
|
interface = "ens18";
|
|
};
|
|
interfaces.ens18 = {
|
|
ipv4.addresses = [
|
|
{
|
|
address = "192.168.0.24";
|
|
prefixLength = 24;
|
|
}
|
|
];
|
|
};
|
|
|
|
nameservers = [
|
|
"1.1.1.1" # Cloudflare
|
|
"1.0.0.1" # Cloudflare
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
};
|
|
}
|