https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
- The Kernel
- Userspace (busybox)
- Bootloader (syslinux)
When the system boots, it loads the kernel, which loads busybox.
#!/bin/bash | |
# doas | |
alias su="gum confirm 'root?' && sudo -s || echo 'never mind'" | |
# exa | |
alias ls="exa -a1 --icons --group-directories-first" | |
alias tree="exa -T" | |
# cd |
class Base: | |
def __init__(self, base): | |
assert base in ["A", "T", "G", "C"], "Base must be A, T, G, or C" | |
self.__base: str = base | |
def compliment(self) -> "Base": | |
sup = { | |
"G": "C", | |
"C": "G", | |
"A": "T", |
https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
When the system boots, it loads the kernel, which loads busybox.
theme = "tokyonight" | |
[editor] | |
# gutters = ["diagnostics", "spacer", "line-numbers", "spacer", "diff"] | |
gutters = ["diff", "diagnostics", "line-numbers", "spacer", "spacer"] | |
cursorline = true | |
[editor.lsp] | |
display-inlay-hints = true |
You'll need to install yazi
(terminal file browser), and jq
(for json queries)
create a directory at ~/.config/yazi/filetree_config
.
This is where we'll store the configs for this file picker so it doens't mess with the main config.
in filetree_config/config.toml
:
[manager]
ratio = [ 0, 8, 0 ]
This is my guide to installing Arch Linux. In my eyes, this is the minimum-viable setup necessary to boot into a solid base without headaches. Where the Arch Wiki's install guide tends to cover every edge case and give you multiple options, this guide is opinionated and ignores many edge cases. In the case where the guide breaks for you, refer back to the Arch Wiki for help.
You can download the Arch Linux ISO image from their website. If you're doing this from a Linux system, you can use this command to write to the drive, assuming the usb drive is /dev/sdb
, this would be your command:
sudo dd if=~/Downloads/archlinux-*-x86_64.iso of=/dev/sdb
Next, boot from your USB drive. It's different for every computer, but in general, you will press a key at boot, and it will give you a boot device menu, from which you will select your USB drive.