Skip to content

Instantly share code, notes, and snippets.

View x-user's full-sized avatar

Pavel Lymarev x-user

View GitHub Profile
@x-user
x-user / CachyOS.md
Last active September 6, 2025 08:30

CachyOS Install

$ sudo -i

# SUBVOLUMES=(
home
root
srv
swap

Fedora ArchWay (KDE+Snapper)

IMPORTANT!!!: Snapshots will not be created when using Discover because:

  1. Discover uses PackageKit as backend
  2. PackageKit uses old libdnf (DNF4) as backend
  3. python3-dnf-plugin-snapper is DNF (not libdnf) plugin so it is skipped

Actions plugin config borrowed from Luan Oliveira (lnvso)

Snapper settings shamelessly stolen from snapper-support (Garuda Linux)

@x-user
x-user / reality.sh
Last active June 25, 2023 12:05
Set up VLESS-XTLS-Reality client/server (via sing-box)
#!/bin/bash
# shellcheck disable=SC2016,SC2034
set -eEu -o pipefail
self="${BASH_SOURCE[0]}"
trap 'echo "$self: Error on line $LINENO: $BASH_COMMAND" >&2' ERR
IFS=$'\n\t'
main() {
init
local command=''