From 114e29e089c414ef6c1a38bc1a8e926488a60d00 Mon Sep 17 00:00:00 2001 From: lzc256 Date: Wed, 15 May 2024 07:26:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20configuration.nix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 93f60f6..969933a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,7 +10,6 @@ ./hardware-configuration.nix ]; - nixpkgs.config.allowUnfree = true; # Use the GRUB 2 boot loader. boot.loader.grub.enable = true; @@ -22,8 +21,8 @@ networking.hostName = "b85"; # Define your hostname. # Pick only one of the below networking options. - networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Set your time zone. time.timeZone = "Asia/Shanghai"; @@ -167,6 +166,8 @@ # # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "23.11"; # Did you read the comment? + + nixpkgs.config.allowUnfree = true; nix.settings.substituters = [ "https://mirrors.ustc.edu.cn/nix-channels/store" ]; nixpkgs.config.packageOverrides = pkgs: { nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {