From 56e3c6f5065d6cadd66e58c85f11b985ef8e1faf Mon Sep 17 00:00:00 2001 From: revol-xut Date: Sat, 5 Mar 2022 14:59:47 +0100 Subject: [PATCH] wireless config for birne --- hosts/birne/configuration.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/hosts/birne/configuration.nix b/hosts/birne/configuration.nix index 9bdd5bc..99b3d42 100644 --- a/hosts/birne/configuration.nix +++ b/hosts/birne/configuration.nix @@ -20,13 +20,18 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "birne"; # Define your hostname. - # Set your time zone. time.timeZone = "Europe/Busingen"; - - networking.useDHCP = false; - networking.interfaces.enp1s0.useDHCP = true; + + networking = { + hostName = "birne"; + interfaces.wlp4s0.useDHCP = true; + networking.interfaces.enp1s0.useDHCP = true; + wireless = { + enable = true; + interfaces = [ "wlp4s0" ]; + }; + }; nixpkgs.config.allowUnfree = true; nix = {