Install the following
- ovmf
- qemu-utils
- virt-viewer
- libxapp-dev
- dnsmasq
setfacl -m u:libvirt-qemu:x $HOME
getfacl $HOME
sudo virsh net-start default
virsh net-list --all
brctl show
sh/nix/prepare-virt.sh
create ~/.config/sops/age/keys.txt
???
https://github.com/disassembler/network
ssh root@host "cat /etc/ssh/ssh_host_rsa_key" | ssh-to-pgp -o nixos/secrets/keys/host.asc
???
export GH_TOKEN=...your-own-token...
nix-env -iA nixos.ripgrep nixos.nixFlakes nixos.gitMinimal nixos.gh nixos.neovim
gh repo clone iharh/nixcfg
cd nixcfg
gh repo sync
sh/nix/prepare-disko.sh
cat /mnt/etc/nixos/hardware-configuration.nix
cat /mnt/etc/nixos/configuration.nix
sh/nix/inst-nixos.sh
find /mnt/boot
sudo poweroff
virsh undefine nixos --snapshots-metadata --checkpoints-metadata
sh/nix/prepare-final.sh
nix-env -iA nixos.ripgrep nixos.nixFlakes nixos.gitMinimal nixos.gh nixos.neovim
create ~/.config/sops/age/keys.txt
export GH_TOKEN=...your-own-token... or
gh repo clone iharh/nixcfg
cd nixcfg
gh repo sync
sh/ih/rebuild-nixos.sh
- Ctrl+Alt Host key at virt-viewer
- C-] To exit the console, hold the CTRL key and press ], then press Enter.