mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
18 lines
454 B
Nix
18 lines
454 B
Nix
{
|
|
programs.distrobox = {
|
|
enable = true;
|
|
package = null;
|
|
enableSystemdUnit = true;
|
|
containers = {
|
|
python-project = {
|
|
image = "fedora:40";
|
|
additional_packages = "python3 git";
|
|
init_hooks = "pip3 install numpy pandas torch torchvision";
|
|
};
|
|
};
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
"Cannot set `programs.distrobox.enableSystemdUnit` if `programs.distrobox.package` is set to null."
|
|
];
|
|
}
|