Update networking configuration

This commit is contained in:
Dave Gallant
2021-05-02 22:45:10 -04:00
parent fc3d3d2c08
commit 505a0d4b17
3 changed files with 12 additions and 3 deletions

6
flake.lock generated
View File

@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1619884579, "lastModified": 1619907041,
"narHash": "sha256-tkvPHzE5eYhBIqwAIQE0t1K87uh8QhlWmn8F83rSC+s=", "narHash": "sha256-BTvU2QTX1/I+2T9001Jd9f/azzXuVBM58OLLYXEQX3U=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "614a5b55bf46673c174dd3775e7fb1d6f9e14dfa", "rev": "ca7868dc2977e2bdb4b1c909768c686d4ec0a412",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -15,6 +15,9 @@
networking.useDHCP = false; networking.useDHCP = false;
networking.interfaces.enp34s0.useDHCP = true; networking.interfaces.enp34s0.useDHCP = true;
# Enable the OpenSSH server.
services.sshd.enable = true;
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
# Evolution # Evolution

View File

@@ -9,6 +9,12 @@
keyMap = "us"; keyMap = "us";
}; };
networking.firewall = {
allowPing = false;
enable = true;
trustedInterfaces = [ "tailscale0" ];
};
# Enable the GNOME 3 Desktop Environment. # Enable the GNOME 3 Desktop Environment.
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;