Arch
sudo pacman -S breeze breeze-gtk
Debian
#!/usr/bin/env bash | |
## TITLE: Install and setup basic Artix - ZFS - OpenRc - rEFInd | |
## TODO: Make proper install scripts from this gist | |
## EFI SETUP: https://wiki.archlinux.org/index.php/EFI_system_partition | |
## ARTIX: https://wiki.artixlinux.org/Main/InstallationOnZFS | |
## REFIND: https://www.rodsbooks.com/refind/installing.html#linux | |
## INSTALL: https://wiki.artixlinux.org/Main/Installation | |
## ARCHZFS: https://www.youtube.com/watch?v=kPNcRSSaYQo |
# Install docker or podman package on your distro (podman doesn't need a daemon like dockerd to work). All args are exactly same, just replace ``podman`` with ``docker`` in command if you want to. | |
sudo pacman -S podman | |
# Run an archlinux container with dbus and wayland sockets. | |
sudo podman run \ | |
--volume "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY":/tmp/wayland-0 \ | |
--device /dev/dri \ | |
--volume /run/user/1000/bus:/tmp/bus \ | |
--rm -it archlinux /bin/bash |
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
#Fully based on https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/ | |
if [ -z "$1" ] | |
then | |
echo "Must supply your Windows 10 username" | |
exit | |
fi | |
WIN_USERNAME=$1 | |
#package updates and installations |
WARNING: THIS GIST IS OUT OF DATE AND NO LONGER RELEVANT
Here are my working notes on getting a system up and running.
WARNING: You can run into a hidden problem that will prevent a correct partition setup and /etc/nixos/configuration.nix
from working: if you are setting up a UEFI system, then you need to make sure you boot into the NixOS installation from the UEFI partition of the bootable media. You may have to enter your BIOS boot selection menu to verify this. For example, if you setup a NixOS installer image on a flash drive, your BIOS menu may display several boot options from that flash drive: choose the one explicitly labeled with “UEFI”.
I used these resources: