aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdam0 <me@kumardamani.net>2023-03-16 13:12:26 +0000
committerkdam0 <me@kumardamani.net>2023-03-16 13:12:26 +0000
commit41925ef14f34d0eb45aa79ce2afefe174a34c4ca (patch)
tree5f19e5bd11622c4cff0c5c7323fb60d4378575cb
parenta00c5f027463013a5df6400d52979f4e12bfb3be (diff)
added docker
-rw-r--r--nixpkgs/.config/nixpkgs/configuration.nix12
1 files changed, 12 insertions, 0 deletions
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.