From 763b2a81231348187a51bf6cc9cdc0fa7705404a Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 19 Jun 2022 15:58:52 +0200 Subject: Refractor codebase --- hosts/phobos/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'hosts/phobos/default.nix') diff --git a/hosts/phobos/default.nix b/hosts/phobos/default.nix index cbefcba..9871b91 100644 --- a/hosts/phobos/default.nix +++ b/hosts/phobos/default.nix @@ -13,13 +13,16 @@ boot.loader.grub.device = "/dev/sdb"; # or "nodev" for efi only # Pick only one of the below networking options. - networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - networking.wireless.networks = secrets.wifi; - # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + networking = { + wireless = { + enable = true; # Enables wireless support via wpa_supplicant. + networks = secrets.wifi; + }; + # networkmanager.enable = true; # Easiest to use and most distros use this by default. + # Configure network proxy if necessary + # proxy.default = "http://user:password@proxy:port/"; + # proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + }; environment.systemPackages = with pkgs; [ -- cgit 1.4.1