night0721.xyz/content/posts/arch/index.md

33 lines
721 B
Markdown
Raw Permalink Normal View History

2023-11-09 00:00:46 +01:00
---
title: "Arch Linux System Configuration"
date: 2023-11-08T22:30:00+00:00
---
Here I am sharing my Arch Linux system files, and also what code I will add immediately after everytime I install Arch.
```sh
# /etc/profile
2023-11-11 14:01:53 +01:00
if lsmod | grep -wq "pcspkr"; then
sudo rmmod pcspkr # Remove annoying beep sound in tty
fi
2023-11-09 00:00:46 +01:00
if [[ $TTY == /dev/tty1 ]]; then
Hyprland # For no display manager
fi
# /etc/ssh/sshd_config
Port 00000 # Five digit number for security
PasswordAuthentication no
UsePAM no
# /etc/hosts
# Copy from https://github.com/StevenBlack/hosts/blob/master/hosts
# This is for adblocking by stopping connections to certain domains
# /etc/issue
N v6 (\l)
#######################################
\d \t
```