更新 configuration.nix

main
落雨宸 2024-05-14 21:50:16 +08:00
parent 0634e30e6b
commit 5306afccc7
1 changed files with 6 additions and 5 deletions

View File

@ -20,6 +20,7 @@
noto-fonts-emoji noto-fonts-emoji
meslo-lgs-nf meslo-lgs-nf
wqy_zenhei wqy_zenhei
hack-font
]; ];
# NUR Source # NUR Source
@ -30,11 +31,11 @@
}; };
# USTC Source # 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 # Virtual Box
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "chitang" ]; users.extraGroups.vboxusers.members = [ "lzc256" ];
# Steam # Steam
programs.steam.enable = true; programs.steam.enable = true;
@ -65,8 +66,8 @@
#boot.loader.systemd-boot.enable = true; #boot.loader.systemd-boot.enable = true;
#boot.loader.efi.canTouchEfiVariables = true; #boot.loader.efi.canTouchEfiVariables = true;
# networking.hostName = "nixos"; # Define your hostname. networking.hostName = "b85"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Set your time zone. # Set your time zone.
time.timeZone = "Asia/Shanghai"; time.timeZone = "Asia/Shanghai";
@ -81,7 +82,7 @@
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
# Configure network proxy if necessary # 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"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Select internationalisation properties. # Select internationalisation properties.