From cf0c4e5a697c714344930503450e75a5ebc0b8f7 Mon Sep 17 00:00:00 2001 From: MK Date: Sun, 12 Feb 2023 10:13:48 +0100 Subject: [PATCH] Update 'configuration.nix' --- configuration.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 40d39da..c70953e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,9 +14,16 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.efiSysMountPoint = "/boot/efi"; - + networking.hostName = "nixoslaptop"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + + networking.wireless.networks = { + gy-sedan14-wpa2 = { # Hidden SSID + hidden = true; + psk = "xxxYYYxxx"; + }; + }; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/";