fix issue
This commit is contained in:
@@ -78,6 +78,7 @@
|
|||||||
|
|
||||||
vim = {
|
vim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
plugins = with pkgs.vimPlugins; [ vim-airline ];
|
plugins = with pkgs.vimPlugins; [ vim-airline ];
|
||||||
settings = { ignorecase = true; };
|
settings = { ignorecase = true; };
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|||||||
@@ -27,12 +27,10 @@
|
|||||||
experimental-features = "nix-command flakes";
|
experimental-features = "nix-command flakes";
|
||||||
substituters = [
|
substituters = [
|
||||||
"https://mirrors.ustc.edu.cn/nix-channels/store"
|
"https://mirrors.ustc.edu.cn/nix-channels/store"
|
||||||
"https://nixos-cn.cachix.org"
|
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://cache.nixos.org/"
|
"https://cache.nixos.org/"
|
||||||
];
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nixos-cn.cachix.org-1:L0jEaL6w7kwQOPlLoCR3ADx+E3Q8SEFEcB9Jaibl0Xg="
|
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
];
|
];
|
||||||
trusted-users = [ "root" ];
|
trusted-users = [ "root" ];
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# all fonts are linked to /nix/var/nix/profiles/system/sw/share/X11/fonts
|
# all fonts are linked to /nix/var/nix/profiles/system/sw/share/X11/fonts
|
||||||
fonts = {
|
fonts = {
|
||||||
# use fonts specified by user rather than default ones
|
# use fonts specified by user rather than default ones
|
||||||
enableDefaultFonts = false;
|
enableDefaultPackages = false;
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{config, ...}:
|
{config, ...}:
|
||||||
{
|
{
|
||||||
# Make sure opengl is enabled
|
# Make sure opengl is enabled
|
||||||
hardware.opengl = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{ config, lib, pkgs, modulesPath, username, ... }:
|
{ config, lib, pkgs, modulesPath, username, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
hardware.opengl = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
vaapiIntel
|
vaapiIntel
|
||||||
|
|||||||
Reference in New Issue
Block a user