Organize packages and remove/change a few
This commit is contained in:
parent
7cd8e7e6df
commit
b3acf11a31
4 changed files with 77 additions and 63 deletions
28
modules/home/distrobox.nix
Normal file
28
modules/home/distrobox.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{pkgs, ...}: {
|
||||
programs.distrobox = {
|
||||
enable = true;
|
||||
enableSystemdUnit = true;
|
||||
containers = {
|
||||
debian13 = {
|
||||
image = "debian:13";
|
||||
entry = false;
|
||||
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"
|
||||
];
|
||||
};
|
||||
|
||||
kali = {
|
||||
image = "docker.io/kalilinux/kali-rolling:latest";
|
||||
entry = false;
|
||||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [boxbuddy];
|
||||
}
|
||||
Reference in a new issue