From dd20c29c708bdb1e15064526bd91b1481939dbed Mon Sep 17 00:00:00 2001 From: clerie Date: Sat, 20 May 2023 17:52:03 +0200 Subject: [PATCH] hosts/mail-2: enable docker --- hosts/mail-2/configuration.nix | 2 ++ hosts/mail-2/mailcow.nix | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 hosts/mail-2/mailcow.nix diff --git a/hosts/mail-2/configuration.nix b/hosts/mail-2/configuration.nix index 9710cd0..f45a063 100644 --- a/hosts/mail-2/configuration.nix +++ b/hosts/mail-2/configuration.nix @@ -5,6 +5,8 @@ [ ./hardware-configuration.nix ../../configuration/hetzner-cloud + + ./mailcow.nix ]; boot.loader.grub.enable = true; diff --git a/hosts/mail-2/mailcow.nix b/hosts/mail-2/mailcow.nix new file mode 100644 index 0000000..6706bf2 --- /dev/null +++ b/hosts/mail-2/mailcow.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: + +{ + virtualisation.docker.enable = true; + + environment.systemPackages = with pkgs; [ + docker-compose + openssl + ]; +}