From 65a39f19a82d2b2c279fb6dd11f42906c058ccb1 Mon Sep 17 00:00:00 2001 From: Nettika Date: Mon, 10 Jun 2024 20:54:40 -0700 Subject: [PATCH] Separate out networking configurations --- configuration.nix | 6 +----- networking.nix | 7 +++++++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 networking.nix diff --git a/configuration.nix b/configuration.nix index 2636cfa..8716319 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,17 +4,13 @@ imports = [ ./hardware-configuration.nix + ./networking.nix ./users.nix ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking = { - hostName = "marauder"; - networkmanager.enable = true; - }; - time.timeZone = "America/Los_Angeles"; i18n.defaultLocale = "en_US.UTF-8"; diff --git a/networking.nix b/networking.nix new file mode 100644 index 0000000..1a153d9 --- /dev/null +++ b/networking.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, modulesPath, ... }: +{ + networking = { + hostName = "marauder"; + networkmanager.enable = true; + }; +}