diff options
Diffstat (limited to 'sys/default.nix')
| -rw-r--r-- | sys/default.nix | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/default.nix b/sys/default.nix index ae1b38f..85b0e5a 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -7,6 +7,7 @@ in { "${modulesPath}/installer/scan/not-detected.nix" ./auth.nix ./fs + ./net.nix ./options.nix ./users.nix ]; @@ -107,18 +108,6 @@ in { time.timeZone = "America/Costa_Rica"; i18n.defaultLocale = "es_CR.UTF-8"; - networking = { - hostName = cfg.hostname; - useDHCP = false; - useNetworkd = true; - - interfaces = mkIf (cfg.dhcpInterface != null) { - "${cfg.dhcpInterface}".useDHCP = true; - }; - - wireguard.enable = true; - }; - - environment.systemPackages = [ pkgs.dhcpcd pkgs.git ]; + environment.systemPackages = [ pkgs.git ]; }; } |
