From d4100d0f1c44678a6edd8153117cb3e5acf051b1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 15 Oct 2023 11:24:50 -0400 Subject: [PATCH] feat: Add back docker Docker is actually useful for some things, and NixOS containers don't replace pre-existing solutions with docker-compose files. --- modules/default.nix | 1 + modules/docker.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 modules/docker.nix diff --git a/modules/default.nix b/modules/default.nix index ef11317..ed273e5 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -2,6 +2,7 @@ imports = [ ./boot.nix ./cdemu.nix + ./docker.nix ./dual-function-keys.nix ./fish.nix ./fonts.nix diff --git a/modules/docker.nix b/modules/docker.nix new file mode 100644 index 0000000..44d1357 --- /dev/null +++ b/modules/docker.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +{ + virtualisation.docker.enable = true; + + environment.systemPackages = with pkgs; [ + docker-compose + ]; +}