RSSAmplifier

Blog

ayats.org

Welcome to my personal blog.

ayats.orgRSS feed ↗18 posts

Latest posts

Script+Shiki for beautiful terminal snippets

A guide to converting terminal ANSI escape sequences into colorful, syntax-highlighted snippets using Shiki.

Learning Shaders

Discovering how to write vertex and fragment shaders as a complete beginner.

I used Haskell for Advent of Code 2024

Some thoughts and cool things that I learn about this purely functional language, with the excuse of doing AoC.

Neovim wrapper with Nix from scratch

A DIY approach to managing Neovim with Nix. Without complicated frameworks that introduce more complexity.

The Nix lectures, part 2: Derivations

From builtins.derivation to stdenv.mkDerivation, and the language-specific builders. All you need to know to start packaging software with Nix.

The Nix lectures, part 1: Introduction and language basics

Covering the fundamentals such as the syntax of Nix as a expression-based language, the types, and some functions from builtins and lib.

Dropping Home-Manager

Exploring the drawbacks of Home Manager and my journey to finding better ways to handle user-level configurations in NixOS.

Rewriting my blog with Astro

How I moved away from Hugo and embraced the JavaScript ecosystem.

The tree-sitter packaging mess

A trip on how not to do the packaging for your software ecosystem

Hover, the CLI tool to protect your home

Never again have your filesystem polluted from random scripts.

Don't use import in Nix

When writing nix, use the module system as an abstraction tool.

Cross-compilation with Nix

Adapting a dev shell workflow for cross-compilation and compiler optimization.

The Nix development workflow

A getting-started guide to mkShell.

Why you don't need flake-utils

Writing by hand the abstraction may be less error-prone than using this popular abstraction library.

Nix shell with rustup

Call a toolchain.toml from nix, for better interoperability with non-nix developers

Filtering flake's self attribute

Quick tutorial about filtering a flake's self attribute, to avoid unnecessary recompilation.

Declarative Ubuntu

What if we applied the declarative methodology from NixOS to Ubuntu?

Channels to flakes

Use the flake registry as a legacy channel replacement.