Skip to content

Instantly share code, notes, and snippets.

View punnie's full-sized avatar

Pedro Coelho punnie

View GitHub Profile
root = /Users/punnie/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org
root = /Users/punnie/Org
path = .
repeat = watch
auto = true
batch = true
{
allowUnfree = true;
}
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
outputs = inputs@{ self, nixpkgs, ... }:
let
lib = nixpkgs.lib;
darwin = [ "x86_64-darwin" "aarch64-darwin" ];
linux = [ "x86_64-linux" "aarch64-linux" ];
allSystems = darwin ++ linux;
@punnie
punnie / Readme.md
Created December 21, 2023 00:17 — forked from techhazard/Readme.md
NixOS: PCI Passthrough

PCI Passthrough

Warning: unfinished (but successfull!)

I did PCI passthrough on Archlinux and Debian with the old PCI-stub method (this was pre-4.0 era). And later I did PCI passthrough on the 4.1+ kernels on Arch and Ubuntu (16.10 I think?).

This is my attempt at doing the same on Nixos.

Requirements