Separate out networking configurations
This commit is contained in:
@@ -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
7
networking.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
{
|
||||||
|
networking = {
|
||||||
|
hostName = "marauder";
|
||||||
|
networkmanager.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user