Separate out networking configurations

This commit is contained in:
2024-06-10 20:54:40 -07:00
parent 8acdb45ac1
commit 65a39f19a8
2 changed files with 8 additions and 5 deletions

View File

@@ -4,17 +4,13 @@
imports = [ imports = [
<nixos-hardware/asus/rog-strix/g513im> <nixos-hardware/asus/rog-strix/g513im>
./hardware-configuration.nix ./hardware-configuration.nix
./networking.nix
./users.nix ./users.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking = {
hostName = "marauder";
networkmanager.enable = true;
};
time.timeZone = "America/Los_Angeles"; time.timeZone = "America/Los_Angeles";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";

7
networking.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, modulesPath, ... }:
{
networking = {
hostName = "marauder";
networkmanager.enable = true;
};
}