From 41925ef14f34d0eb45aa79ce2afefe174a34c4ca Mon Sep 17 00:00:00 2001 From: kdam0 Date: Thu, 16 Mar 2023 09:12:26 -0400 Subject: added docker --- nixpkgs/.config/nixpkgs/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixpkgs/.config/nixpkgs/configuration.nix b/nixpkgs/.config/nixpkgs/configuration.nix index 154104b..16607e5 100644 --- a/nixpkgs/.config/nixpkgs/configuration.nix +++ b/nixpkgs/.config/nixpkgs/configuration.nix @@ -50,6 +50,7 @@ "wheel" "video" "audio" + "docker" ]; shell = pkgs.zsh; }; @@ -64,8 +65,19 @@ bmon alsa-utils libcamera + docker-buildx + docker-compose ]; + virtualisation.docker = { + enable = true; + enableOnBoot = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; + # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you # accidentally delete configuration.nix. -- cgit v1.2.3