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") {