calcite: bump version, drop steam, drop opengl32

This commit is contained in:
xinyangli 2023-09-23 01:12:38 +08:00
parent 9c61da8046
commit df20c486e7
8 changed files with 49 additions and 56 deletions

View file

@ -104,9 +104,9 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1u"
"openssl-1.1.1w"
# For wechat-uos
"electron-19.0.7"
"electron-19.1.9"
];
# List packages installed in system profile. To search, run:
# $ nix search wget
@ -173,8 +173,6 @@
gnome.gnome-tweaks
gthumb
steam
# Multimedia
vlc
obs-studio
@ -208,11 +206,6 @@
ghidra
];
programs.steam = {
enable = true;
};
system.stateVersion = "22.05";
# Use mirror for binary cache
@ -240,7 +233,7 @@
# Fonts
fonts = {
fonts = with pkgs; [
packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
noto-fonts
noto-fonts-emoji
@ -274,7 +267,6 @@
};
docker = {
enable = true;
enableNvidia = true;
autoPrune.enable = true;
};
};

View file

@ -46,4 +46,8 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.opengl = {
enable = true;
driSupport32Bit = false;
};
}

View file

@ -6,8 +6,7 @@
networkmanager = {
enable = true;
dns = "systemd-resolved";
# dns = "none";
# dns = "resolvconf";
};
};
@ -16,9 +15,9 @@
extraConfig = ''
[Resolve]
Domains=~.
DNS=114.114.114.114 1.1.1.1
DNSOverTLS=opportunistic
DNS=127.0.0.1
'';
# DNSOverTLS=opportunistic
};
# Configure network proxy if necessary