Skip to content

Instantly share code, notes, and snippets.

View LGUG2Z's full-sized avatar

جاد LGUG2Z

View GitHub Profile
@LGUG2Z
LGUG2Z / .ideavimrc
Created November 30, 2023 18:04
My ideavimrc
" Map the leader key to space
let mapleader = " "
set clipboard=unnamed " Use system clipboard
set display+=lastline " Always try to show a paragraphΓÇÖs last line
set formatoptions+=j " Delete comment character when joining commented lines
set gdefault " Replace all instances on a line when using :s/regex/replacement
set history=1000 " Remember more commands and search history
set ignorecase " Case-insensitive search
set incsearch "Show matches as search proceeds
@LGUG2Z
LGUG2Z / vfio.nix
Created March 5, 2023 23:19
My VFIO setup for a Windows 11 VM in NixOS on a Ryzen 3700x with an Nvidia 3070ti passed through to the VM
let
iommuIds = [
"10de:2482" # 3070 Ti Graphics
"10de:228b" # 3070 Ti Audio
];
in
{
pkgs,
lib,
config,

Keybase proof

I hereby claim:

  • I am lgug2z on github.
  • I am jiqb (https://keybase.io/jiqb) on keybase.
  • I have a public key ASD5PCxVXZ1tBEvJPDist0-kp_j-7-0Ua4pz2-y2trT2cQo

To claim this, I am signing this object: