mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
Working Config With Libs!
This commit is contained in:
24
HyperV/networking.nix
Normal file
24
HyperV/networking.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{...}: {
|
||||
# This file was populated at runtime with the networking
|
||||
# details gathered from the active system.
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
nameservers = [
|
||||
"192.168.1.1"
|
||||
"192.168.1.250"
|
||||
"8.8.8.8"
|
||||
"8.8.4.4"
|
||||
];
|
||||
defaultGateway = {
|
||||
address = "192.168.1.1";
|
||||
};
|
||||
interfaces.eth0 = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.1.230";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user