diff --git a/config/system/default.nix b/config/system/default.nix index 5d92011..f7b7ccf 100644 --- a/config/system/default.nix +++ b/config/system/default.nix @@ -7,6 +7,7 @@ ./autorun.nix ./boot.nix ./displaymanager.nix + ./distrobox.nix ./flatpak.nix ./hwclock.nix ./intel-amd.nix diff --git a/config/system/distrobox.nix b/config/system/distrobox.nix new file mode 100644 index 0000000..a1969ec --- /dev/null +++ b/config/system/distrobox.nix @@ -0,0 +1,11 @@ +{ 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]; +} diff --git a/options.nix b/options.nix index 1b75d94..d5cf33c 100644 --- a/options.nix +++ b/options.nix @@ -65,6 +65,7 @@ in { printer = false; # Enable Flatpak & Larger Programs + distrobox = false; flatpak = false; kdenlive = true; blender = true;