PHIPS BLOG

  •  Home
  •  Get To Know Me

NixOS

Programming & DevOps

Nix: How to Package a Shell Script

Nix with its ecosystem is amazing tooling and the library functions in nixpkgs provide great builders to package certain programs, scripts, and stuff. But in this jungle of options, it’s also sometimes not clear which option is the best or most pragmatic solution. In this blog post, I’m going to Read more…

By Philipp Schuster, 4 weeks2025-04-01 ago
Programming & DevOps

Quickly Boot a Minimal Linux Kernel + Initrd in Cloud Hypervisor or QEMU

For various reasons, such as OS development, it is convenient to quickly start up an instance of QEMU or Cloud Hypervisor with a custom kernel and initrd. However, often the major struggle is to get some kernel and some initrd, i.e., the boot items, quickly and easily. Scope Foremost, this Read more…

By Philipp Schuster, 1 month2025-03-18 ago
Programming & DevOps

Remotely deploying NixOS configuration using SSH Jump Host

nixos-rebuild –target-host <user@host> is a powerful tool to remotely deploy a NixOS configuration. However, there are scenarios where you can’t reach a machine directly but need an SSH jump host. Suppose you want to deploy to the host 192.168.124.42, which is only reachable from the host ssh-gate. Then your nixos-rebuild Read more…

By Philipp Schuster, 4 months2025-01-08 ago
Archer TX20U Nano
Programming & DevOps

Enabling TP-Link Archer TX20U Nano on NixOS and Linux 6.12

Recently, I’ve bought a TP-Link Archer TX20U Nano WiFi USB dongle (vendor website) for my desktop PC. The driver for Windows is provided by the stick itself, as it exposes a storage volume with the Windows driver on it. On Linux, the Windows driver doesn’t work, of course. However, with Read more…

By Philipp Schuster, 5 months2024-12-12 ago
Screenshow: Basic flake.nix for a NixOS System Configuration
Programming & DevOps

Migrate Default NixOS Configuration to Flake

Although Nix flakes are still marked as unstable, they became the de facto standard for managing reproducible NixOS system configurations. Regarding NixOS system configurations, the major benefit of flakes is that they bundle nixpkgs (and possibly further dependencies) along with the configuration files. The nixpkgs version and the configuration files Read more…

By Philipp Schuster, 12 months2024-04-29 ago
Programming & DevOps

Compile Linux out-of-tree Module on NixOS in a Nix shell with an FHS Environment

In an earlier post, I talked about how you can build an out-of-tree Linux kernel module in a Nix derivation, i.e., package it in Nix. However, for quick prototyping, sometimes you want to just enter $ make in your shell, for example to check if everything compiles. Out-of-tree module projects Read more…

By Philipp Schuster, 1 year2024-04-10 ago

Posts pagination

1 2 Next

Because this blog is a few years old and used to be a more or less personal german blog, old posts are in german. Newer posts are in english.

  • Impressum
  • Datenschutzerklärung
Hestia | Developed by ThemeIsle