···163163 '';
164164 };
165165166166+ hardware.nvidia.forceFullCompositionPipeline = lib.mkOption {
167167+ default = false;
168168+ type = types.bool;
169169+ description = ''
170170+ Whether to force-enable the full composition pipeline.
171171+ This sometimes fixes screen tearing issues.
172172+ This has been reported to reduce the performance of some OpenGL applications and may produce issues in WebGL.
173173+ It also drastically increases the time the driver needs to clock down after load.
174174+ '';
175175+ };
176176+166177 hardware.nvidia.package = lib.mkOption {
167167- type = lib.types.package;
178178+ type = types.package;
168179 default = config.boot.kernelPackages.nvidiaPackages.stable;
169180 defaultText = literalExpression "config.boot.kernelPackages.nvidiaPackages.stable";
170181 description = ''
···255266 ''
256267 BusID "${pCfg.nvidiaBusId}"
257268 ${optionalString syncCfg.allowExternalGpu "Option \"AllowExternalGpus\""}
258258- ${optionalString cfg.powerManagement.finegrained "Option \"NVreg_DynamicPowerManagement=0x02\""}
259269 '';
260270 screenSection =
261271 ''
262272 Option "RandRRotation" "on"
263263- ${optionalString syncCfg.enable "Option \"AllowEmptyInitialConfiguration\""}
264264- '';
273273+ '' + optionalString syncCfg.enable ''
274274+ Option "AllowEmptyInitialConfiguration"
275275+ '' + optionalString cfg.forceFullCompositionPipeline ''
276276+ Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
277277+ Option "AllowIndirectGLXProtocol" "off"
278278+ Option "TripleBuffer" "on"
279279+ ''
280280+ ;
265281 };
266282267283 services.xserver.serverLayoutSection = optionalString syncCfg.enable ''
···367383 RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia%c{3} c 195 %c{3}"
368384 KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0'"
369385 KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 1'"
370370- '' + optionalString cfg.powerManagement.finegrained ''
386386+ '' + optionalString cfg.powerManagement.finegrained (
387387+ optionalString (versionOlder config.boot.kernelPackages.kernel.version "5.5") ''
371388 # Remove NVIDIA USB xHCI Host Controller devices, if present
372389 ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", ATTR{remove}="1"
373390···376393377394 # Remove NVIDIA Audio devices, if present
378395 ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"
379379-396396+ '' + ''
380397 # Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
381398 ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
382399 ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"
···384401 # Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
385402 ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
386403 ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"
387387- '';
404404+ '');
388405389406 boot.extraModprobeConfig = mkIf cfg.powerManagement.finegrained ''
390407 options nvidia "NVreg_DynamicPowerManagement=0x02"
+2
pkgs/applications/graphics/gimp/default.nix
···115115 libwebp
116116 libheif
117117 python
118118+ # Duplicated here because python.withPackages does not expose the dev output with pkg-config files
119119+ python2.pkgs.pygtk
118120 libexif
119121 xorg.libXpm
120122 glib-networking
···6677mkDerivation rec {
88 pname = "teamviewer";
99+ # teamviewer itself has not development files but the dev output removes propagated other dev outputs from runtime
1010+ outputs = [ "out" "dev" ];
911 version = "15.29.4";
10121113 src = fetchurl {
···209209 couchdb = throw "couchdb was removed from nixpkgs, use couchdb3 instead"; # Added 2021-03-03
210210 couchdb2 = throw "couchdb2 was removed from nixpkgs, use couchdb3 instead"; # Added 2021-03-03
211211 coreclr = throw "coreclr has been removed from nixpkgs, use dotnet-sdk instead"; # added 2022-06-12
212212+ corgi = throw "corgi has been dropped due to the lack of maintanence from upstream since 2018"; # Added 2022-06-02
212213 cpp-gsl = throw "'cpp-gsl' has been renamed to/replaced by 'microsoft_gsl'"; # Converted to throw 2022-02-22
213214 cpp_ethereum = throw "cpp_ethereum has been removed; abandoned upstream"; # Added 2020-11-30
214215 cpuminer-multi = throw "cpuminer-multi has been removed: deleted by upstream"; # Added 2022-01-07
···264265 cudnn_cudatoolkit_9_0 = throw "cudnn_cudatoolkit_9_0 has been removed in favor of newer versions"; # Added 2021-04-18
265266 cudnn_cudatoolkit_9_1 = throw "cudnn_cudatoolkit_9_1 has been removed in favor of newer versions"; # Added 2021-04-18
266267 cudnn_cudatoolkit_9_2 = throw "cudnn_cudatoolkit_9_2 has been removed in favor of newer versions"; # Added 2021-04-18
267267-268268+ curl_unix_socket = throw "curl_unix_socket has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02
268269 cutensor = throw "cutensor is now part of cudaPackages*"; # Added 2022-04-04
269270 cutensor_cudatoolkit_10 = throw "cutensor* is now part of cudaPackages*"; # Added 2022-04-04
270271 cutensor_cudatoolkit_10_1 = throw "cutensor* is now part of cudaPackages*"; # Added 2022-04-04
···449450450451 g4py = python3Packages.geant4; # Added 2020-06-06
451452 gaia = throw "gaia has been removed because it seems abandoned upstream and uses no longer supported dependencies"; # Added 2020-06-06
453453+ gawp = throw "gawp has been dropped due to the lack of maintanence from upstream since 2017"; # Added 2022-06-02
452454 gdal_1_11 = throw "gdal_1_11 was removed. Use gdal instead"; # Added 2021-04-03
453455 gdb-multitarget = throw "'gdb-multitarget' has been renamed to/replaced by 'gdb'"; # Converted to throw 2022-02-22
454456 gdk_pixbuf = throw "'gdk_pixbuf' has been renamed to/replaced by 'gdk-pixbuf'"; # Converted to throw 2022-02-22
···457459 gfm = throw "gfm has been removed"; # Added 2021-01-15
458460 giblib = throw " giblib has been removed from nixpkgs because upstream is gone"; # Added 2022-01-23
459461 giflib_4_1 = throw "giflib_4_1 has been removed; use giflib instead"; # Added 2020-02-12
462462+ git-annex-remote-b2 = throw "git-annex-remote-b2 has been dropped due to the lack of maintanence from upstream since 2016"; # Added 2022-06-02
460463 git-bz = throw "giz-bz has been removed from nixpkgs as it is stuck on python2"; # Added 2022-01-01
461464462465 gitAndTools = self // {
···509512 gobby5 = gobby; # Added 2021-02-01
510513 gobjectIntrospection = throw "'gobjectIntrospection' has been renamed to/replaced by 'gobject-introspection'"; # Converted to throw 2022-02-22
511514 gogoclient = throw "gogoclient has been removed, because it was unmaintained"; # Added 2021-12-15
515515+ goklp = throw "goklp has been dropped due to the lack of maintanence from upstream since 2017"; # Added 2022-06-02
512516 golly-beta = throw "golly-beta has been removed: use golly instead"; # Added 2022-03-21
513517 goimports = throw "'goimports' has been renamed to/replaced by 'gotools'"; # Converted to throw 2022-02-22
514518 gometalinter = throw "gometalinter was abandoned by upstream. Consider switching to golangci-lint instead"; # Added 2020-04-23
···518522 google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # Added 2021-03-07
519523 google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # Added 2021-03-07
520524 go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22
525525+ go-repo-root = throw "go-repo-root has been dropped due to the lack of maintanence from upstream since 2014"; # Added 2022-06-02
521526 gpgstats = throw "gpgstats has been removed: upstream is gone"; # Added 2022-02-06
522527 gpshell = throw "gpshell has been removed, because it was unmaintained in nixpkgs"; # added 2021-12-17
523528···571576572577 ### I ###
573578579579+ i3cat = throw "i3cat has been dropped due to the lack of maintanence from upstream since 2016"; # Added 2022-06-02
574580 iana_etc = throw "'iana_etc' has been renamed to/replaced by 'iana-etc'"; # Converted to throw 2022-02-22
575581 iasl = throw "iasl has been removed, use acpica-tools instead"; # Added 2021-08-08
582582+ ical2org = throw "ical2org has been dropped due to the lack of maintanence from upstream since 2018"; # Added 2022-06-02
576583 icecat-bin = throw "icecat-bin has been removed, the binary builds are not maintained upstream"; # Added 2022-02-15
577584 icedtea8_web = adoptopenjdk-icedtea-web; # Added 2019-08-21
578585 icedtea_web = adoptopenjdk-icedtea-web; # Added 2019-08-21
···10621069 pocketsphinx = throw "pocketsphinx has been removed: unmaintained"; # Added 2022-04-24
10631070 polarssl = throw "'polarssl' has been renamed to/replaced by 'mbedtls'"; # Converted to throw 2022-02-22
10641071 polysh = throw "polysh has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01
10721072+ pond = throw "pond has been dropped due to the lack of maintanence from upstream since 2016"; # Added 2022-06-02
10651073 poppler_qt5 = throw "'poppler_qt5' has been renamed to/replaced by 'libsForQt5.poppler'"; # Converted to throw 2022-02-22
10661074 powerdns = pdns; # Added 2022-03-28
10671075 portaudio2014 = throw "'portaudio2014' has been removed"; # Added 2022-05-10
···14501458 xineLib = xine-lib; # Added 2021-04-27
14511459 xineUI = xine-ui; # Added 2021-04-27
14521460 xmonad_log_applet_gnome3 = throw "'xmonad_log_applet_gnome3' has been renamed to/replaced by 'xmonad_log_applet'"; # Converted to throw 2022-02-22
14611461+ xmpp-client = throw "xmpp-client has been dropped due to the lack of maintanence from upstream since 2017"; # Added 2022-06-02
14531462 xmpppy = throw "xmpppy has been removed from nixpkgs as it is unmaintained and python2-only";
14541463 xp-pen-g430 = pentablet-driver; # Added 2020-05-03
14551464 xpf = throw "xpf has been removed: abandoned by upstream"; # Added 2022-04-26