added: scripts from @zethra's configs, and tidied flake structure lili bit

This commit is contained in:
Serenity-F 2024-04-09 13:38:04 +10:00
parent b0a649e560
commit 9a3fbee8bb
25 changed files with 230 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;