diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-14 16:59:28 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-14 16:59:28 +0200 |
commit | a7a46d3cd392d782a118f4551b27479e8b2274d9 (patch) | |
tree | afa1b09848b2a4a920045eb2a13b3e4a065af4bb /modules/virtualisation | |
parent | Readme: Add deploying info (diff) | |
download | nixos-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.nix | 6 |
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" ]; } |