This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # qemu-run - A Podman-like interface for QEMU | |
| # | |
| # podman run --rm \ | |
| # --runtime=kata \ | |
| # -v "$PWD:/mnt/host:Z" \ | |
| # alpine sh -c \ | |
| # 'ls -la /mnt/host > /mnt/host/ls.txt' | |
| # | |
| # ./qemu-run alpine -v "$PWD:/mnt/host" 'ls -la /mnt/host > /mnt/host/ls.txt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs, lib, config, ... }: { | |
| # Basic devenv configuration - add your project packages here | |
| packages = [ | |
| pkgs.systemd | |
| pkgs.debootstrap | |
| # Add other packages your project needs | |
| ]; | |
| # Define container settings with automatic unique naming | |
| env = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs, lib, config, ... }: { | |
| inputs.microvm.url = "github:astro/microvm.nix"; | |
| packages = [ | |
| pkgs.qemu | |
| pkgs.microvm | |
| pkgs.utillinux # For kvm-ok check | |
| ]; | |
| env = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================ | |
| # UI Library - User Interface Functions | |
| # No dependencies - pure output/input | |
| # ============================================ | |
| # Color codes | |
| readonly COLOR_RESET='\033[0m' | |
| readonly COLOR_RED='\033[0;31m' |
OlderNewer