Skip to content

Instantly share code, notes, and snippets.

Starting modlist installation with custom progress handling...
Success: Installation completed successfully
Auto-accepting Steam restart (unattended mode enabled)
================================================================
= Installation phase complete =
================================================================
@merrkry
merrkry / highlights.scm
Last active August 28, 2025 19:05
Fix todo comments priority (queries/comment/highlights.scm)
; Set priority of 150 to prevent being overriden by LSP semantic highlighting.
; `(#set! "priority" 150)` added to each paragraph.
; https://github.com/neovim/neovim/pull/15114
; https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/comment/highlights.scm
((tag
(name) @comment.todo @nospell
("(" @punctuation.bracket
(user) @constant
")" @punctuation.bracket)?
@merrkry
merrkry / log
Last active August 14, 2025 21:13
WIP packaging for vicinae
fetching git input 'git+file:///home/merrkry/Projects/declaratia'
this derivation will be built:
/nix/store/0182gvnp4awkb4v4x1himdrgxz16fak4-vicinae-0.0.5.drv
building '/nix/store/0182gvnp4awkb4v4x1himdrgxz16fak4-vicinae-0.0.5.drv'...
vicinae> Running phase: qtPreHook
vicinae> Running phase: unpackPhase
vicinae> unpacking source archive /nix/store/ik13w23gz1fi4k6cx2f4xj4dn10ynkhw-source
vicinae> source root is source
vicinae> Running phase: patchPhase
vicinae> Running phase: updateAutotoolsGnuConfigScriptsPhase
@merrkry
merrkry / fix.sh
Created October 22, 2024 16:24
PostgreSQL Collation Fix
#!/usr/bin/env bash
databases=$(psql -U postgres -d postgres -t -c "SELECT datname FROM pg_database")
for db in $databases; do
echo "Reindexing database: $db"
psql -U postgres -d "$db" -c "REINDEX DATABASE \"$db\";"
psql -U postgres -d "$db" -c "ALTER DATABASE \"$db\" REFRESH COLLATION VERSION;"
done
@merrkry
merrkry / noto-fonts-cjk-serif-static.nix
Created September 21, 2024 08:28
Static Noto Fonts
{
lib,
stdenvNoCC,
fetchFromGitHub,
nixosTests,
}:
stdenvNoCC.mkDerivation rec {
pname = "noto-fonts-cjk-serif-static";
version = "2.003";
@merrkry
merrkry / tsukimi.nix
Last active September 21, 2024 14:01
Tsukimi
{
lib,
pkgs,
fetchFromGitHub,
fetchurl,
rustPlatform,
cargo,
pkg-config,
glib,
mpv,
@merrkry
merrkry / Rclone systemd service.md
Created May 6, 2024 03:20 — forked from kabili207/Rclone systemd service.md
Rclone systemd user service

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox