Skip to content

Instantly share code, notes, and snippets.

@asheshambasta
Last active December 7, 2019 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asheshambasta/e85a9ed2ccd5c9c74e425deda1863148 to your computer and use it in GitHub Desktop.
Save asheshambasta/e85a9ed2ccd5c9c74e425deda1863148 to your computer and use it in GitHub Desktop.
interfaces.enp4s0.ip4.addresses = [{
address = "192.168.0.200";
prefixLength = 24;
}];
networking = {
hostName = "quasar-nixos-tr";
wireless = { enable = false; };
networkmanager = { enable = true; };
extraHosts = ''
192.168.0.145 home-server
127.0.0.1 quasar.localhost
127.0.0.1 linkerd.service
127.0.0.1 redis.service
'';
interfaces.enp4s0.ip4 = [{
address = "192.168.0.200";
prefixLength = 24;
}];
defaultGateway = "192.168.0.1";
nameservers = [ "8.8.8.8" "8.8.4.4" ];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment