diff --git a/01-Installation.md b/01-Installation.md index e08ce68..d11b7f4 100644 --- a/01-Installation.md +++ b/01-Installation.md @@ -1,25 +1,10 @@ Quickemu is available in the repositories of the following distros (packaging status by [Repology.org](https://repology.org/)): -
- - - - - - -
- -[![Packaging -status of quickemu](https://repology.org/badge/vertical-allrepos/quickemu.svg?header=quickemu)](https://repology.org/project/quickemu/versions) - -
-
- ## Arch Linux Quickemu is available from the AUR (Arch user repository), and can be installed via any AUR helper. Assuming your AUR helper is yay, Run the -following command: +the following command: ``` shell yay -Sy quickemu @@ -37,7 +22,6 @@ sudo apt-get install ./quickemu_x.y.z-1_all.deb ## Ubuntu Quickemu is available from a PPA for Ubuntu users. -The Quickemu PPA also includes a backport of QEMU 6.0.0 for 20.04 (Focal) and 21.04 (Hirsute). To install Quickemu and all the dependencies, run the following in a terminal: ``` shell @@ -46,37 +30,42 @@ sudo apt update sudo apt install quickemu ``` -## NixOS hosts +## Nix & NixOS -To quickly try `quickemu`: +### Flake -``` shell +[![FlakeHub](https://img.shields.io/endpoint?url=https://flakehub.com/f/quickemu-project/quickemu/badge)](https://flakehub.com/flake/quickemu-project/quickemu) + +Stable releases of Quickemu are published to FlakeHub for Nix users. See the Quickemu flake on FlakeHub for more details: + +- + +### Nixpkgs + +Add Quickemu to your `systemPackages`. For example: + +```nix +systemPackages = with pkgs; [ + quickemu +]; +``` + +### Nix Shell + +You can also quickly try `quickemu` in a Nix shell. + +#### New command interface + +```shell +nix shell nixpkgs#quickemu +``` + +#### Legacy command interface + +```shell nix-shell -p quickemu ``` -To install via Nix profile: - -``` shell -nix-env -iA pkgs.quickemu -``` - -To install via NixOS config: - -``` nix -# /etc/nixos/configuration.nix -{pkgs, ...}: { - environment.systemPackages = with pkgs; - quickemu - }; -} -``` - -To install via Flakes: - -``` shell -# TODO (flake users, please add an example!) -``` - ## Any Linux (installing from source) ``` shell