Skip to content

Instantly share code, notes, and snippets.

@jpotier
jpotier / steam-hardware.txt
Created February 19, 2023 09:08
steam hardware
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: ROG STRIX X370-F GAMING
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 3700X 8-Core Processor
CPU Family: 0x17
@jpotier
jpotier / README.md
Created December 6, 2019 17:12 — forked from CRTified/README.md
VFIO Passthrough on NixOS

VFIO Setup on NixOS

Disclaimer: Nobody else tested my setup so far, so this is a "works on my machine" scenario. I am not responsible for anything you break on your machine (although I'd not expect much harm).

Hardware

My system has the following hardware:

  • Board: Asus ROG Strix Z270G
# This file is autogenerated! Do not edit it yourself, use update-runtime.py for regeneration.
{ fetchurl }:
{
amd64 = [
rec {
name = "steamrt-legacy_1.20190320.0+srt1_amd64";
sha256 = "1sw6pcl83nwfkal2gllq68zbrcqs7s6xn8mxxmmnpsrca0s5xv1m";
url = "mirror://steamrt/pool/main/s/steamrt/steamrt-legacy_1.20190320.0+srt1_amd64.deb";
source = fetchurl {
@jpotier
jpotier / install-debug.sh
Last active April 2, 2016 16:09
Test netdata in a alpine container
#!/bin/sh
apk --update add zlib bash build-base zlib-dev autoconf automake iproute2 gdb curl
addgroup -S netdata
adduser -S -G netdata -s /sbin/nologin -h / netdata
mkdir /workdir && cd /workdir
cp -r /data/netdata.git ./
cd netdata.git
CFLAGS="-O1 -ggdb -Wall -Wextra" ./netdata-installer.sh --dont-wait
sleep 1
@jpotier
jpotier / Dockerfile
Created April 2, 2016 12:09
Dockerfile used to build a netdata container with netdata
FROM gliderlabs/alpine:latest
WORKDIR /myapp
COPY . /myapp
RUN apk-install zlib bash # Keeping this, the rest is just build-dep
RUN apk --update add --virtual build-dependencies build-base zlib-dev autoconf automake \
&& cd netdata.git \
&& addgroup -S netdata \
&& adduser -S -G netdata -s /sbin/nologin -h / netdata \