From 5306afccc7834e2372f1c7cd0fadc28fa23007d9 Mon Sep 17 00:00:00 2001 From: lzc256 Date: Tue, 14 May 2024 21:50:16 +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 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index f5d849c..b302565 100644 --- a/configuration.nix +++ b/configuration.nix @@ -20,6 +20,7 @@ noto-fonts-emoji meslo-lgs-nf wqy_zenhei + hack-font ]; # NUR Source @@ -30,11 +31,11 @@ }; # USTC Source - nix.binaryCaches = [ "https://mirrors.ustc.edu.cn/nix-channels/store" ]; + nix.settings.substituters = [ "https://mirrors.ustc.edu.cn/nix-channels/store" ]; # Virtual Box virtualisation.virtualbox.host.enable = true; - users.extraGroups.vboxusers.members = [ "chitang" ]; + users.extraGroups.vboxusers.members = [ "lzc256" ]; # Steam programs.steam.enable = true; @@ -65,8 +66,8 @@ #boot.loader.systemd-boot.enable = true; #boot.loader.efi.canTouchEfiVariables = true; - # networking.hostName = "nixos"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + networking.hostName = "b85"; # Define your hostname. + networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Set your time zone. time.timeZone = "Asia/Shanghai"; @@ -81,7 +82,7 @@ networking.networkmanager.enable = true; # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.default = "http://127.0.0.1:7890/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # Select internationalisation properties.