monolith: add static ip address

This commit is contained in:
Leonardo Eugênio 2025-11-15 20:34:46 -03:00
parent e1890bbd68
commit 05e3958eed

View file

@ -140,6 +140,14 @@ in
powerManagement.cpuFreqGovernor = "ondemand"; powerManagement.cpuFreqGovernor = "ondemand";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "monolith"; # Define your hostname. networking.hostName = "monolith"; # Define your hostname.
networking.interfaces.enp8s0 = {
ipv4.addresses = [
{
address = "192.168.1.6";
prefixLength = 24;
}
];
};
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;