{ config, pkgs, ... }: { networking.interfaces.enp2s0 = { ipv4.addresses = [{ address = "192.168.1.240"; prefixLength = 24; } ]; ipv4.routes = [ { address = "192.168.1.0"; prefixLength = 24; via = "192.168.1.1"; }]; useDHCP = false; }; #networking.nameservers = [ "172.16.11.240" ]; networking.nameservers = [ "192.168.1.1" ]; networking.defaultGateway = { address = "192.168.1.1"; interface = "enp2s0"; }; environment.systemPackages = [ pkgs.mosh ]; programs.mosh.enable = true; networking.wireless.networks = { "TP-LINK_1D79" = { psk = "welcomeyouare"; }; }; #config.nssDatabase.hosts = [ "mdns_minimal" "[NOTFOUND=return]" ]; }