1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-29 21:51:01 +01:00
home-manager/tests/modules/programs/distrobox/example-config.ini
Aguirre Matteo 8a68f18e96
distrobox: add module (#6528)
Added programs/distrobox.nix module. It provides the option "programs.distrobox.containers", which makes it possible to declare a list of containers to be created. Since building those containers is not possible at build time (because none container backend is available at that time), I also added a Systemd Unit to build those containers after switching the configuration.
2025-03-21 10:07:00 -05:00

20 lines
467 B
INI

[common-debian]
additional_packages=git
entry=true
image=debian:13
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker-compose
[office]
additional_packages=libreoffice onlyoffice
clone=common-debian
entry=true
[python-project]
additional_packages=python3 git
image=fedora:40
init_hooks=pip3 install numpy pandas torch torchvision
[random-things]
clone=common-debian
entry=false