Skip to content

Commit

Permalink
fix(nvidia-container-toolkit): rename option to `hardware.nvidia-cont…
Browse files Browse the repository at this point in the history
…ainer-toolkit`
  • Loading branch information
misumisumi committed May 4, 2024
1 parent 562fbdf commit a7673d3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/virtualisation/podman/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ pkgs, ... }: {
virtualisation = {
containers.cdi.dynamic.nvidia.enable = true;
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
Expand Down
2 changes: 1 addition & 1 deletion machines/mother/gpu.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ pkgs
, lib
, ...
}: {
# boot.extraModprobeConfig = lib.mkAfter ''
Expand Down Expand Up @@ -45,6 +44,7 @@
};

hardware = {
nvidia-container-toolkit.enable = true;
nvidia.modesetting.enable = true;
opengl = {
driSupport32Bit = true;
Expand Down
1 change: 1 addition & 0 deletions machines/soleus/gpu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
};

hardware = {
nvidia-container-toolkit.enable = true;
nvidia = {
powerManagement.enable = true;
nvidiaPersistenced = true;
Expand Down
1 change: 1 addition & 0 deletions machines/stacia/gpu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
};

hardware = {
nvidia-container-toolkit.enable = true;
nvidia = {
powerManagement.enable = true;
nvidiaPersistenced = true;
Expand Down
1 change: 1 addition & 0 deletions machines/zephyrus/gpu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
};

hardware = {
nvidia-container-toolkit.enable = true;
nvidia.powerManagement.enable = true;
opengl.extraPackages = with pkgs; [
libvdpau-va-gl
Expand Down

0 comments on commit a7673d3

Please sign in to comment.