chore: update graphics config

This commit is contained in:
Ryan Yin
2024-07-20 11:49:14 +08:00
parent b3b55c36d8
commit 385bcd2d87
4 changed files with 12 additions and 12 deletions

View File

@@ -62,7 +62,7 @@
lldb lldb
#-- python #-- python
nodePackages.pyright # python language server pyright # python language server
(python311.withPackages ( (python311.withPackages (
ps: ps:
with ps; [ with ps; [

View File

@@ -1,7 +1,7 @@
{pkgs, ...}: { {pkgs-stable, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs-stable; [
# https://joplinapp.org/help/ # https://joplinapp.org/help/
# joplin # joplin-cli joplin # joplin-cli
# joplin-desktop joplin-desktop
]; ];
} }

View File

@@ -41,10 +41,10 @@ in {
}; };
virtualisation.docker.enableNvidia = true; # for nvidia-docker virtualisation.docker.enableNvidia = true; # for nvidia-docker
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
# needed by nvidia-docker # needed by nvidia-docker
driSupport32Bit = true; enable32Bit = true;
}; };
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default

View File

@@ -21,11 +21,11 @@
# To use chrome, we need to allow the installation of non-free software # To use chrome, we need to allow the installation of non-free software
config.allowUnfree = true; config.allowUnfree = true;
}; };
# pkgs-stable = import inputs.nixpkgs-stable { pkgs-stable = import inputs.nixpkgs-stable {
# inherit system; inherit system;
# # To use chrome, we need to allow the installation of non-free software # To use chrome, we need to allow the installation of non-free software
# config.allowUnfree = true; config.allowUnfree = true;
# }; };
}; };
# This is the args for all the haumea modules in this folder. # This is the args for all the haumea modules in this folder.