• Home
  • Posts
  • Bookshelf
  • Contact
  • 68. Building containers with Nix and Gitlab CI

    2022-12-14
    • #gitlab
    • #nixos

    Let’s build a container around a Rust webserver and some static files using Nix and Gitlab CI. The process is what you’d expect, but there are a few details that are annoying to puzzle out.

    ⤷ Read more
  • 63. A NixOS flake for Rust, egui, and OpenGL

    2022-05-21
    • #nixos
    • #rust

    I wrote a little OpenGL app in Rust and the hardest part was getting it to run on NixOS. This post describes the flake that works, and lists the errors that happen if the configuration isn’t right.

    ⤷ Read more
  • 58. Writing a NixOS service module

    2022-03-16
    • #nixos

    Let’s write an nbd service module for NixOS. We’ll look at the shape of NixOS modules, define the service’s options, generate the configuration for the server, write tests, and see how upstreaming into nixpkgs works.

    ⤷ Read more
  • 55. Generating secrets with nix flakes and cfssl

    2022-02-05
    • #infra
    • #nixos

    Many recent distributed programs like etcd or Kubernetes require TLS certificates to communicate securely. Creating these by hand is tedious, so let’s see how to automate it with a nix flake.

    ⤷ Read more
  • 54. NixOS 21.11 and nftables

    2022-01-01
    • #networking
    • #nixos

    NixOS 21.11 switched to the nf_tables backend for iptables. Let’s see what this means, and what new things we can and cannot do.

    ⤷ Read more
▲
  • © 2022 Alexandru Scvorțov (λyz.mailyscvalexznet)@.
    • CC BY-SA |
    • All code GPLv3
    • Home |
    • RSS Feed