feat: update TODO, fix some problems

This commit is contained in:
ryan4yin
2023-05-07 00:28:30 +08:00
parent b8b4d843d6
commit e9e63e6d4a
17 changed files with 114 additions and 64 deletions

View File

@@ -9,7 +9,6 @@
[
../../modules/system.nix
../../modules/hyprland.nix
../../modules/nixpkgs-wayland.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
@@ -51,14 +50,22 @@
# for Nvidia GPU
services.xserver.videoDrivers = ["nvidia"];
hardware.opengl.enable = true;
services.xserver.videoDrivers = ["nvidia"]; # will install nvidia-vaapi-driver by default
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
modesetting.enable = true;
powerManagement.enable = true;
};
hardware.opengl = {
enable = true;
# if hardware.opengl.driSupport is enabled, mesa is installed and provides Vulkan for supported hardware.
driSupport = true;
# needed by nvidia-docker
driSupport32Bit = true;
};
hardware.opengl.driSupport32Bit = true;
virtualisation.docker = {
enable = true;
enableNvidia = true;

View File

@@ -9,7 +9,6 @@
[
../../modules/system.nix
../../modules/hyprland.nix
../../modules/nixpkgs-wayland.nix
# Include the results of the hardware scan.
./hardware-configuration.nix