mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-29 20:52:33 +01:00
25 lines
365 B
Nix
25 lines
365 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
networking = {
|
|
hostName = "asgard";
|
|
defaultGateway = "192.168.1.1";
|
|
|
|
nameservers = [
|
|
"1.1.1.1"
|
|
"8.8.8.8"
|
|
];
|
|
|
|
interfaces = {
|
|
enp2s0 = {
|
|
ipv4 = {
|
|
addresses = [{
|
|
address = "192.168.1.10";
|
|
prefixLength = 24;
|
|
}];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|