X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20.RelPermalink%20%7D%7D?a=blobdiff_plain;f=configs%2Fserver.nix;fp=configuration.nix;h=672714844af080f28023d85b9103d4a10d8f327a;hb=132904fa828d9c9db295e3f3d707912221841552;hp=b679930ecf5dbeb077b33ff1c221e0eb29edf2e1;hpb=646e27dee1db43517aa92407fb8459f8e3437191;p=nixos-configuration.git diff --git a/configuration.nix b/configs/server.nix similarity index 85% rename from configuration.nix rename to configs/server.nix index b679930..6727148 100644 --- a/configuration.nix +++ b/configs/server.nix @@ -1,26 +1,10 @@ { config, pkgs, ... }: { - imports = - [ - ./hardware-configuration.nix - ]; - - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - boot.extraModprobeConfig = - '' - options radeon si_support=0 cik_support=0 - options amdgpu si_support=1 cik_support=1 - ''; - - networking.hostName = "elitedesk"; # Define your hostname. - networking.interfaces.eno1.wakeOnLan.enable = true; systemd.network = { enable = true; networks."10-lan" = { - matchConfig.Name = "eno1"; + matchConfig.Name = "*"; DHCP = "yes"; linkConfig.RequiredForOnline = "routable"; };