Skip to content

Instantly share code, notes, and snippets.

View ck3d's full-sized avatar

Christian Kögler ck3d

View GitHub Profile
@ck3d
ck3d / nixos-test-nspawn-podman-unprivileged.nix
Created August 18, 2024 20:20
NixOS NSpawn Podman unprivileged
{ pkgs, ... }:
let
# same as nixos/tests/systemd-machinectl.nix
container =
{ config, modulesPath, ... }:
{
boot.isContainer = true;
networking.useHostResolvConf = false;
networking.useNetworkd = true;
@ck3d
ck3d / benchmark.md
Last active January 29, 2025 08:59
llama-bench
{ stdenv
, fetchFromGitHub
, cmake
, makeWrapper
, qt5
, libsForQt5
, rtl-sdr
, libusb
, mesa_noglu
, faad2
{ stdenv
, fetchurl
, vdr
, curl
}: stdenv.mkDerivation rec {
pname = "vdr-iptv";
version = "2.4.0";
src = fetchurl {
{ stdenv
, fetchurl
, autoconf
, automake
, libtool
, help2man
, bison
, flex
, texinfo
, gnulib