zaneyos/config/system/distrobox.nix
2024-02-19 15:27:59 +01:00

12 lines
289 B
Nix

{ config, lib, pkgs, ... }:
let inherit (import ../../options.nix) distrobox; in
lib.mkIf (distrobox == true) {
virtualisation.podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
environment.systemPackages = [pkgs.distrobox];
}