test
This commit is contained in:
parent
46d2cf2c79
commit
8020d1446a
2 changed files with 12 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
opengl.enable = true;
|
opengl.enable = true;
|
||||||
opengl.driSupport32Bit = true;
|
opengl.driSupport32Bit = true;
|
||||||
opengl.driSupport = true;
|
opengl.driSupport = true;
|
||||||
|
|
||||||
|
opengl.extraPackages = with pkgs; [nvidia-vaapi-driver];
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
open = true;
|
open = true;
|
||||||
|
@ -35,11 +37,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable nVidia graphics
|
environment.variables = {
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
GBM_BACKEND = "nvidia-drm";
|
||||||
|
LIBVA_DRIVER_NAME = "nvidia";
|
||||||
|
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Fingerprint software
|
# Fingerprint software
|
||||||
fprintd
|
fprintd
|
||||||
|
# nVidia graphcis options
|
||||||
|
vulkan-loader
|
||||||
|
vulkan-validation-layers
|
||||||
|
vulkan-tools
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue