nero: added nvidia docker support
This commit is contained in:
@@ -119,6 +119,8 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.docker.daemon.settings.features.cdi = true;
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
AVALONIA_SCREEN_SCALE_FACTORS = "HDMI-A-1=2.0;DP-1=2.0;DP-2=2.0;DP-3=2.0";
|
AVALONIA_SCREEN_SCALE_FACTORS = "HDMI-A-1=2.0;DP-1=2.0;DP-2=2.0;DP-3=2.0";
|
||||||
|
|||||||
@@ -79,6 +79,7 @@
|
|||||||
hardware = {
|
hardware = {
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
nvidia-container-toolkit.enable = true;
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
open = true;
|
open = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user