Skip to content

Commit

Permalink
remove deprecated option: enableNvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanvir1337x committed Dec 1, 2024
1 parent da2eb0c commit 1034aef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
3 changes: 0 additions & 3 deletions containers/docker/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ _: {
virtualisation = {
docker = {
enable = true;

# Deprecated, use hardware.nvidia-container-toolkit.enable instead
# enableNvidia = true;
};

podman = {
Expand Down
10 changes: 2 additions & 8 deletions system/virtualization.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@
# <https://wiki.nixos.org/wiki/Docker>
docker = {
enable = true;

# Deprecated, use hardware.nvidia-container-toolkit.enable instead
enableNvidia = false;
storageDriver = "btrfs";

# Extra packages to add to PATH for the docker daemon process
Expand All @@ -111,9 +108,6 @@
podman = {
enable = true;

# Deprecated, use hardware.nvidia-container-toolkit.enable instead
enableNvidia = false;

# Extra packages to be installed in the Podman wrapper
extraPackages = with pkgs; [
podman-compose
Expand All @@ -125,8 +119,8 @@
dates = "weekly";
};

dockerSocket.enable = false;
dockerCompat = false;
# dockerSocket.enable = true;
# dockerCompat = true;
};
};

Expand Down

0 comments on commit 1034aef

Please sign in to comment.