ssd trim and glx
This commit is contained in:
@@ -46,6 +46,9 @@
|
||||
accelProfile = "flat";
|
||||
};
|
||||
};
|
||||
videoDrivers = [
|
||||
"intel"
|
||||
];
|
||||
};
|
||||
|
||||
pipewire = {
|
||||
@@ -80,9 +83,9 @@
|
||||
programs = {
|
||||
thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
|
||||
|
@@ -1,11 +1,27 @@
|
||||
{
|
||||
{ pkgs, lib, ... }: {
|
||||
sound.enable = true;
|
||||
networking.networkmanager.enable = true;
|
||||
time.timeZone = "Asia/Shanghai";
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
environment.variables.VDPAU_DRIVER = "va_gl";
|
||||
hardware = {
|
||||
opengl.enable = true;
|
||||
opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
mesa.drivers
|
||||
libvdpau-va-gl
|
||||
intel-media-driver
|
||||
vaapiVdpau
|
||||
|
||||
(
|
||||
if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then
|
||||
vaapiIntel
|
||||
else
|
||||
intel-vaapi-driver
|
||||
)
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Select internationalisation properties.
|
||||
|
Reference in New Issue
Block a user