curl https://alx.sh | sh # From gentoo livecd net-setup ifconfig lsblk fdisk /dev/nvme - take all free space left mkfs.btrfs -f /dev/nvmeRoot mount /dev/nvmeRoot /mnt/gentoo mkdir -p /mnt/gentoo/boot/ mount /dev/nvmeEFI /mnt/gentoo/boot/ wget stage3 > arm openrc desktop or not ? > https://www.gentoo.org/downloads/#arm64-advanced tar xpvf stage3-X.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt/gentoo nano /mnt/gentoo/etc/portage/make.conf ------------------ SKIP DO AFTER GENTOOSUPPORT ``` [...] MAKEOPTS="-j(nproc) -l(nproc)" EMERGE_DEFAULT_OPTS="--jobs 3" ACCEPT_LICENSE="linux-fw-redristribuable no-source-code" GENTOO_MIRRORS="https://mirror.rit.edu/gentoo/ https://gentoo.osuosl.org/ https://lug.mtu.edu/gentoo/ https://mirror.csclub.uwaterloo.ca/gentoo/" # Keep a newline at the end! Important! ``` cp --dereference /etc/resolv.conf /mnt/gentoo/etc/ mount --types proc /proc /mnt/gentoo/proc mount --rbind /sys /mnt/gentoo/sys mount --rbind /dev /mnt/gentoo/dev mount --bind /run /mnt/gentoo/run chroot /mnt/gentoo /bin/bash source /etc/profile emerge-webrsync emerge --sync emerge -av dev-vcs/git git clone https://github.com/chadmed/asahi-gentoosupport cd asahi-gentoosupport ./install.sh eselect profile emerge -1 sys-apps/portage lsblk blkid nano /etc/fstab ``` # /etc/fstab: static file system information. # # # UUID=XXXX-XXXX /boot vfat defaults,noatime 0 2 UUID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx / btrfs subvol=/@,defaults,noatime,autodefrag,compress=zstd 0 0 ``` passwd emerge -av sys-fs/dosfstools sys-fs/btrfs-progs net-wireless/wpa_supplicant app-portage/gentoolkit app-portage/eix eix-update ls /usr/share/zoneinfo echo "US/Eastern" > /etc/timezone emerge --config sys-libs/timezone-data nano /etc/[locale.gen](locale.gen) locale-gen eselect locale list eselect locale set x env-update && source /etc/profile echo 'dev-lang/rust' >> /etc/portage/package.mask exit umount -l /mnt/gentoo/dev{/shm,/pts,} umount -R /mnt/gentoo reboot >> /dev/nvme0n1p6 - obsolete to be removed # USERLAND altezza@asahi make.conf wayland use ## openrc ssh... ## using git to sync repos instead of rsync - /var/db/repos/gentoo vim /etc/portage/repos.conf/gentoo.conf ``` [DEFAULT] main-repo = gentoo [gentoo] location = /var/db/repos/gentoo sync-type = git sync-uri = https://gitweb.gentoo.org/repo/sync/gentoo.git auto-sync = yes sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc sync-openpgp-key-refresh-retry-count = 40 sync-openpgp-key-refresh-retry-overall-timeout = 1200 sync-openpgp-key-refresh-retry-delay-exp-base = 2 sync-openpgp-key-refresh-retry-delay-max = 60 sync-openpgp-key-refresh-retry-delay-mult = 4 ``` ## setup sudo emerge app-admin/sudo visudo #Allow members of group sudo to execute any command without any password %sudo ALL=(ALL:ALL) ALL %sudo ALL=NOPASSWD: ALL ## dbus emerge sys-apps/dbus rc-update add dbus default ## Add User useradd -m -G users,wheel,audio,sudo ??? $USER passwd $USER # choose Cron pkg # now switch to user ? ## ZSH emerge app-shells/zsh app-shells/zsh-completions app-shells/gentoo-zsh-completions app-shells/zsh-syntax-highlighting chsh -s /bin/zsh ## Neovim eselect vi list ## Wayland + wlroots + Dwl + terminal++ emerge dev-libs/wayland x11-base/xwayland gui-libs/wlroots dev-libs/bemenu emerge -1 gui-apps/foot SHCMD(TERMINAL " -e neomutt ") }, SHCMD(TERMINAL " -e abook -C ~/.config/abook/abookrc --datafile ~/.config/abook/addressbook") }, {.v = (const char*[]){ TERMINAL, "-e", "lfub", NULL } } } {.v = (const char*[]){ TERMINAL, "-e", "htop", NULL } } }, SHCMD("mpc pause; pauseallmpv") } {.v = (const char*[]){ TERMINAL, "-e", "nvim", "-c", "VimwikiIndex", NULL } } }, ### EBUILD For https://codeberg.org/dwl/dwl https://git.afu.re/st/ https://gitlab.freedesktop.org/emersion/wlr-randr https://codeberg.org/dnkl/wbg https://github.com/KoffeinFlummi/htop-vim ### dwl patches scratchpad: Accessible with mod+shift+enter. https://codeberg.org/dwl/dwl-patches/src/commit/161c62ae6c4fd379f6181f42cf8a5f937e2bff86/patches/swallow https://codeberg.org/dwl/dwl-patches/src/commit/161c62ae6c4fd379f6181f42cf8a5f937e2bff86/patches/bar https://codeberg.org/dwl/dwl-patches/src/commit/161c62ae6c4fd379f6181f42cf8a5f937e2bff86/patches/hide_vacant_tags https://codeberg.org/dwl/dwl-patches/src/commit/161c62ae6c4fd379f6181f42cf8a5f937e2bff86/patches/stacker https://codeberg.org/dwl/dwl-patches/src/commit/161c62ae6c4fd379f6181f42cf8a5f937e2bff86/patches/vanitygaps https://codeberg.org/dwl/dwl-patches/src/commit/161c62ae6c4fd379f6181f42cf8a5f937e2bff86/patches/unclutter https://codeberg.org/dwl/dwl-patches/src/commit/161c62ae6c4fd379f6181f42cf8a5f937e2bff86/patches/regions ## Dotfiles slop and maim replaced by slurp & grim ? emerge media-sound/mpd media-sound/mpc x11-misc/dunst sci-visualization/visidata media-gfx/nsxiv app-office/calcurse app-misc/abook https://github.com/gokcehan/lf media-gfx/ueberzugpp >>> REPLACE ncmpcpp by Rusty Music Player Client ### gpg pass ect https://github.com/t-8ch/pinentry-bemenu app-admin/pass ### Email setup emerge mail-client/mutt-wizard mail-client/neomutt net-mail/isync mail-mta/msmtp ### desktop admin tools emerge net-misc/yt-dlp ffmpeg imagemagick