diff options
Diffstat (limited to 'modules/virtualization.nix')
| -rw-r--r-- | modules/virtualization.nix | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/modules/virtualization.nix b/modules/virtualization.nix index 02d5d93..fb5a4cd 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -18,8 +18,10 @@ in      };      spiceUSBRedirection.enable = true; -    docker = { +    # docker.enable = true; +    podman = {        enable = true; +      dockerCompat = true;      };    };    services.spice-vdagentd.enable = true; @@ -34,6 +36,12 @@ in      #pkgs.vagrant      pkgs.virt-viewer      pkgs.guestfs-tools +    pkgs.distrobox + +    (pkgs.writeShellScriptBin "db-create" '' +      mkdir -p "$HOME/db" +      distrobox create --name my-distrobox --home "$HOME/db" --init --image ubuntu:24.04 +    '')      (pkgs.writeShellScriptBin "pin-cpu" ''        if [[ $1 == "" ]]; then | 
