diff --git a/options.xhtml b/options.xhtml index 4cf4a8fe2..9e49575fb 100644 --- a/options.xhtml +++ b/options.xhtml @@ -19904,6 +19904,116 @@ null or package
+programs.distrobox.enable
+
+
+Whether to enable distrobox.
+ +Type: +boolean
+ +Default:
+false
Example:
+true
Declared by:
+
+
+<home-manager/modules/programs/distrobox.nix>
+
+ |
programs.distrobox.package
+
+
+The distrobox package to use.
+ +Type: +package
+ +Default:
+pkgs.distrobox
Declared by:
+
+
+<home-manager/modules/programs/distrobox.nix>
+
+ |
programs.distrobox.containers
+
+
+A set of containers and all its respective configurations. Each option cat be either a +bool, string or a list of strings. If passed a list, the option will be repeated for each element. +See common-debian in the example config. All the available options for the containers can be found +in the distrobox-assemble documentation at https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-assemble.md.
+ +Type: +attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a list of them for duplicate keys)
+ +Default:
+{ }
Example:
''
+ {
+ python-project = {
+ image = "fedora:40";
+ additional_packages = "python3 git";
+ init_hooks = "pip3 install numpy pandas torch torchvision";
+ };
+
+ common-debian = {
+ image = "debian:13";
+ entry = true;
+ additional_packages = "git";
+ init_hooks = [
+ "ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker"
+ "ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker-compose"
+ ];
+ };
+
+ office = {
+ clone = "common-debian";
+ additional_packages = "libreoffice onlyoffice";
+ entry = true;
+ };
+
+ random-things = {
+ clone = "common-debian";
+ entry = false;
+ };
+ }
+''
+
+
+Declared by:
+
+
+<home-manager/modules/programs/distrobox.nix>
+
+ |
programs.earthly.enable