fix issue

This commit is contained in:
2025-04-21 23:05:03 +08:00
parent baf967af34
commit 5c0196c3f7
5 changed files with 4 additions and 5 deletions

View File

@@ -78,6 +78,7 @@
vim = {
enable = true;
defaultEditor = true;
plugins = with pkgs.vimPlugins; [ vim-airline ];
settings = { ignorecase = true; };
extraConfig = ''

View File

@@ -27,12 +27,10 @@
experimental-features = "nix-command flakes";
substituters = [
"https://mirrors.ustc.edu.cn/nix-channels/store"
"https://nixos-cn.cachix.org"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"nixos-cn.cachix.org-1:L0jEaL6w7kwQOPlLoCR3ADx+E3Q8SEFEcB9Jaibl0Xg="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
trusted-users = [ "root" ];

View File

@@ -11,7 +11,7 @@
# all fonts are linked to /nix/var/nix/profiles/system/sw/share/X11/fonts
fonts = {
# use fonts specified by user rather than default ones
enableDefaultFonts = false;
enableDefaultPackages = false;
fontDir.enable = true;
packages = with pkgs; [

View File

@@ -1,7 +1,7 @@
{config, ...}:
{
# Make sure opengl is enabled
hardware.opengl = {
hardware.graphics = {
enable = true;
driSupport = true;
driSupport32Bit = true;

View File

@@ -4,7 +4,7 @@
{ config, lib, pkgs, modulesPath, username, ... }:
{
hardware.opengl = {
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
vaapiIntel