added iommu

This commit is contained in:
Ryan Schanzenbacher 2023-09-17 17:06:55 -04:00
parent 6089f9710a
commit 5d9d6bcd89
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
2 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,10 @@
(operating-system (operating-system
(inherit base-operating-system) (inherit base-operating-system)
(kernel-arguments (append (list "intel_iommu=on")
%default-kernel-arguments))
(initrd-modules (cons* "vfio_pci" "vfio" "vfio_iommu_type1"
%base-initrd-modules))
(host-name "RyanThinkpad") (host-name "RyanThinkpad")
(mapped-devices (list (mapped-device (mapped-devices (list (mapped-device
(source (uuid (source (uuid

View file

@ -10,8 +10,8 @@
"format": " {}" "format": " {}"
}, },
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{name}", "format": "{id}",
"all-outputs": false "all-outputs": false,
"disable-scroll": true "disable-scroll": true
}, },
"hyprland/window": { "hyprland/window": {