Separate out networking configurations
This commit is contained in:
parent
8acdb45ac1
commit
65a39f19a8
2 changed files with 8 additions and 5 deletions
|
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue