diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-08-08 04:08:26 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-08-08 04:11:32 -0600 |
| commit | 45e6f5587faed8b8b1de59caffad5ad027bbb118 (patch) | |
| tree | fca193d1415b92530a46bcb0e237c67d6eaf92ad /sys/default.nix | |
| parent | 48d2ef9f8bc681e73380f89872fa55a0a86e9161 (diff) | |
sys/net: move out of sys/default.nix
Diffstat (limited to '')
| -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 ]; }; } |
