Skip to content

Instantly share code, notes, and snippets.

@withnix
withnix / arch-install.md
Last active November 13, 2025 17:51
Arch Installation with systemd-boot and systemd-networkd

Pre-installation

Live CD installation section

Create a bootable USB Flash Drive

Download Arch Linux ISO

You may use Rufus, balenaEtcher or Ventoy

@withnix
withnix / fonts.conf
Created March 22, 2024 20:08
Fix alacritty gliphs with monospace nerdfont package
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Symbols Nerd Font Mono</family>
</prefer>
</alias>
<match target="font">
@withnix
withnix / header-underline.css
Last active May 31, 2024 12:49
obsidian headers underline css snippet
.HyperMD-header-1::after, h1,
.HyperMD-header-2::after, h2 {
display: block;
content: "";
padding-bottom: 10px;
border-bottom: 1px solid gray;
border-image: linear-gradient(to right, #3f3f3f, #6f6f6f, #6f6f6f, #3f3f3f ) 47% 0%;
}
@withnix
withnix / userChrome.css
Last active November 15, 2024 19:36
Hide Firefox Favicons
/* Disable tab favicons */
.tabbrowser-tab .tab-icon-image { display: none !important; }
/* Hide bookmarks favicons */
#personal-bookmarks .toolbarbutton-icon { display: none !important; }
/* Hide tab scroll buttons */
toolbarbutton#scrollbutton-up,
toolbarbutton#scrollbutton-down { display: none !important; }
@withnix
withnix / user.js
Last active November 15, 2024 19:37
Some firefox configuration
// Force enable compact mode
user_pref("browser.uidensity", 1);
// Scroll speed
user_pref("mousewheel.default.delta_multiplier_x", 450);
user_pref("mousewheel.default.delta_multiplier_y", 450);
user_pref("mousewheel.default.delta_multiplier_z", 450);
// Disable alt-key menu
user_pref("ui.key.menuAccessKeyFocuses", false);
:root {
--font: IBM Plex Sans;
--font-size: 1em;
}
:root.tomorrow body {
background: #111111 !important;
color: #AAAAAA !important;
background-position: center !important;
font-family: var(--font);
@withnix
withnix / routing.json
Last active July 19, 2025 00:29
Xray RU domains direct
"routing": {
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "direct"
},
{
"domain": [
@withnix
withnix / postfix.md
Created November 13, 2025 22:00
Минимальный Postfix

Большинство хостеров по умолчанию блокирую 25 порт, возможно нужно будет обратиться в тех. поддержку.

Установка

apt install postfix

Во время установки Postfix выбрать тип конфигурации "Internet Site" и указываем имя своего домена (mail.withsrv.ru).