about summary refs log tree commit diff
path: root/modules/virtualisation
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-14 16:59:28 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-14 16:59:28 +0200
commita7a46d3cd392d782a118f4551b27479e8b2274d9 (patch)
treeafa1b09848b2a4a920045eb2a13b3e4a065af4bb /modules/virtualisation
parentReadme: Add deploying info (diff)
downloadnixos-config-a7a46d3cd392d782a118f4551b27479e8b2274d9.tar.gz
nixos-config-a7a46d3cd392d782a118f4551b27479e8b2274d9.tar.bz2
nixos-config-a7a46d3cd392d782a118f4551b27479e8b2274d9.zip
Module: Virtualisation: Add docker-compose for podman
Diffstat (limited to '')
-rw-r--r--modules/virtualisation/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/virtualisation/default.nix b/modules/virtualisation/default.nix
index 5ba8a64..574f384 100644
--- a/modules/virtualisation/default.nix
+++ b/modules/virtualisation/default.nix
@@ -5,11 +5,17 @@
     podman = {
       enable = true;
       dockerCompat = true;
+      defaultNetwork.dnsname.enable = true;
     };
     libvirtd.enable = true;
     virtualbox.host.enable = true;
   };
 
+  environment.systemPackages = with pkgs; [
+    docker-compose
+    podman-compose
+  ];
+
   users.users.${user}.extraGroups = [ "libvirtd" ];
   users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
 }