You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.5 KiB
86 lines
1.5 KiB
---
|
|
title: Archlinux
|
|
date: 2023-11-29T20:33:48+0100
|
|
lastmod: 2024-03-02T09:56:32+0000
|
|
tags:
|
|
- archlinux
|
|
|
|
#showDate: false
|
|
showReadingTime: false
|
|
showWordCount: false
|
|
showPagination: false
|
|
#showAuthor: false
|
|
showBreadcrumbs: true
|
|
|
|
feed_exclude: true
|
|
# site_exclude: true
|
|
|
|
draft: true
|
|
|
|
---
|
|
|
|
## Predictable network interfaces
|
|
|
|
### systemd.link
|
|
|
|
This might be useful, sometimes.
|
|
|
|
<https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html>
|
|
|
|
## Prefer local DNS instead of systemd-resolved defaults
|
|
|
|
<https://unix.stackexchange.com/a/442599>
|
|
|
|
## Setup WiFi networks
|
|
|
|
### Using **iwctl**
|
|
|
|
~~~console
|
|
$ iwctl device list
|
|
$ iwctl station wlan0 scan
|
|
$ iwctl station wlan0 get-networks
|
|
$ iwctl station wlan0 connect {ssid}
|
|
~~~
|
|
|
|
### Using **nmcli** (NetworkManager)
|
|
|
|
~~~console
|
|
|
|
~~~
|
|
|
|
## CPU frequency scaling
|
|
|
|
<https://wiki.archlinux.org/title/CPU_frequency_scaling>
|
|
|
|
## YubiKeys
|
|
|
|
<https://wiki.archlinux.org/title/YubiKey>
|
|
|
|
## LunarVim custom key mappings
|
|
|
|
I know, this is an Arch Linux post but hey, I don't care.
|
|
|
|
<https://github.com/LunarVim/LunarVim/issues/2602>
|
|
|
|
## Mounting nfs shares with systemd
|
|
|
|
<https://wiki.archlinux.org/title/NFS#Mount_using_/etc/fstab_with_systemd>
|
|
|
|
### Arch Linux ARM installation on a Raspberry Pi 2
|
|
|
|
The wiki page is for Raspberry Pi 4.
|
|
|
|
<https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4>
|
|
|
|
## Create a 32-bit Wine prefix
|
|
|
|
I create my wine prefixes usually like this:
|
|
|
|
~~~console
|
|
$ export WINEPREFIX=/home/dominic/.wine-winlink
|
|
$ export WINEARCH=win32
|
|
$ wine wineboot
|
|
~~~
|
|
|
|
|