From 1edea4e9cebfdaf85345e9eee7b72cd3f120a3a9 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 30 Apr 2023 00:12:25 +0300 Subject: [PATCH] host/shared: use unstable docker package --- nixos/hosts/magenta/default.nix | 2 +- nixos/shared/docker-swarm.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/magenta/default.nix b/nixos/hosts/magenta/default.nix index 505646e..61f8cef 100644 --- a/nixos/hosts/magenta/default.nix +++ b/nixos/hosts/magenta/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ pkgs, ... }: let data = import ../../../data.nix; diff --git a/nixos/shared/docker-swarm.nix b/nixos/shared/docker-swarm.nix index 7a40618..539c147 100644 --- a/nixos/shared/docker-swarm.nix +++ b/nixos/shared/docker-swarm.nix @@ -1,10 +1,11 @@ -{ ... }: +{ pkgs, ... }: { # Enable docker virtualisation.docker = { enable = true; liveRestore = false; + package = pkgs.unstable.docker; }; # Source: https://forums.docker.com/t/error-response-from-daemon-rpc-error-code-unavailable-desc-grpc-the-connection-is-unavailable/39066/12 networking.firewall = {