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
#-- python
nodePackages.pyright # python language server
pyright # python language server
(python311.withPackages (
ps:
with ps; [

View File

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

View File

@@ -41,10 +41,10 @@ in {
};
virtualisation.docker.enableNvidia = true; # for nvidia-docker
hardware.opengl = {
hardware.graphics = {
enable = true;
# needed by nvidia-docker
driSupport32Bit = true;
enable32Bit = true;
};
# 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
config.allowUnfree = true;
};
# pkgs-stable = import inputs.nixpkgs-stable {
# inherit system;
# # To use chrome, we need to allow the installation of non-free software
# config.allowUnfree = true;
# };
pkgs-stable = import inputs.nixpkgs-stable {
inherit system;
# To use chrome, we need to allow the installation of non-free software
config.allowUnfree = true;
};
};
# This is the args for all the haumea modules in this folder.