aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/system/network.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-05 20:12:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-05 20:12:56 -0700
commitf3657271d6ea2408d812d32eea9862b61e49f5d8 (patch)
treec6ea56f0616174024c7293ce032b7adacf7ea884 /hosts/common/system/network.nix
parentrefactor security to a module (diff)
downloadinfra-f3657271d6ea2408d812d32eea9862b61e49f5d8.tar.gz
refactor network configuration
Diffstat (limited to '')
-rw-r--r--hosts/common/system/network.nix19
1 files changed, 0 insertions, 19 deletions
diff --git a/hosts/common/system/network.nix b/hosts/common/system/network.nix
deleted file mode 100644
index df5aa27..0000000
--- a/hosts/common/system/network.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ config, pkgs, lib, hostname, ... }:
-
-{
- networking = {
- hostName = hostname;
- useNetworkd = true;
- wireless.enable = false;
- useDHCP = false;
- };
-
- services.nscd.enable = false;
- system.nssModules = lib.mkForce [ ];
-
- # Use systemd-resolved
- services.resolved = {
- enable = true;
- dnssec = "false";
- };
-}