Skip to content

Instantly share code, notes, and snippets.

@Roxedus
Last active June 22, 2025 12:15
Show Gist options
  • Save Roxedus/d2d0508e1bf44ed6d5ebec8375570d4f to your computer and use it in GitHub Desktop.
Save Roxedus/d2d0508e1bf44ed6d5ebec8375570d4f to your computer and use it in GitHub Desktop.

Framework stuff

sudo sbctl setup --setup

sudo vim /etc/mkinitcpio.conf

HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)

sudo vim /etc/mkinitcpio.d/linux.preset

ALL_kver="/boot/vmlinuz-linux"
PRESETS=('default')
default_image="/boot/initramfs-linux.img"
default_uki="/boot/EFI/Linux/arch-linux.efi"
default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"

sudo mkinitcpio -p linux

sudo sbctl verify

sudo vim /etc/kernel/cmdline

zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs

sudo systemd-cryptenroll /dev/nvme0n1p2 --tpm2-device=auto

https://wiki.archlinux.org/title/Framework_Laptop_13_(13th_Gen_Intel_Core)

sudo pacman -S --needed git base-devel zsh zsh-completions

git clone https://aur.archlinux.org/yay.git

cd yay

makepkg -si

yay -S aur/1password aur/1password-cli aur/brave-bin aur/visual-studio-code-insiders-bin

sudo chsh roxedus

mkdir -p .config/chezmoi

vim .config/chezmoi/chezmoi.yml

data:
  integration:
    bitwarden:
      enabled: true
    eza:
      managed: false
    hishtory:
      managed: false
      offline: false
    oh_my_posh:
      managed: true
    kubernetes:
      enabled: true

mkdir -p $HOME/.local/bin

sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- init --apply roxedus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment