Skip to content

Instantly share code, notes, and snippets.

{ pkgs ? import <nixpkgs> { }, ... }:
pkgs.qt5.callPackage ./gammy.nix { }
@Atemu
Atemu / README.md
Created December 7, 2019 09:35 — 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
@Atemu
Atemu / rotate_desktop.sh
Created March 4, 2019 20:59 — forked from mildmojo/rotate_desktop.sh
Script to rotate the screen and touch devices on modern Linux desktops. Great for convertible laptops.
#!/bin/bash
#
# rotate_desktop.sh
#
# Rotates modern Linux desktop screen and input devices to match. Handy for
# convertible notebooks. Call this script from panel launchers, keyboard
# shortcuts, or touch gesture bindings (xSwipe, touchegg, etc.).
#
# Using transformation matrix bits taken from:
# https://wiki.ubuntu.com/X/InputCoordinateTransformation
@Atemu
Atemu / PKGBUILD.patch
Created September 11, 2018 13:14
Support aarch64 for qemu-user-static
--- PKGBUILD 2018-09-11 13:04:32.129183905 +0000
+++ PKGBUILD.new 2018-09-11 12:44:41.211983309 +0000
@@ -5,7 +5,7 @@
pkgver=2.12
pkgrel=4
pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation, statically linked."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
license=('GPL2' 'LGPL2.1')
url="http://wiki.qemu.org/Index.html"