fixed refreshrate on desktop

switch to neovim as a pager
added parrot and mining modules
deleted amd module
moved the rest of vfio configuration to vfio.nix
moved git from home-manager to system configuration
This commit is contained in:
ISnortPennies 2023-01-23 21:10:16 -05:00
parent 67b3e39735
commit 6b7ce7d133
25 changed files with 152 additions and 165 deletions

View file

@ -1,11 +1,11 @@
{
pkgs,
username,
settings,
...
}: {
boot = {
kernelParams = ["amd_iommu=on" "iommu=pt" "vfio_iommu_type1.allow_unsafe_interrupts=1" "kvm.ignore_msrs=1"];
kernelModules = ["vfio_virqfd" "vfio_pci" "vfio_iommu_type1" "vfio"];
kernelModules = ["amd-kvm" "vfio_virqfd" "vfio_pci" "vfio_iommu_type1" "vfio"];
initrd.kernelModules = ["vfio_virqfd" "vfio_pci" "vfio_iommu_type1" "vfio"];
extraModprobeConfig = ''
options vfio-pci ids=10de:228e,10de:2504
@ -18,7 +18,7 @@
runAsRoot = true;
ovmf.enable = true;
verbatimConfig = ''
user = "${username}"
user = "${settings.username}"
group = "kvm"
namespaces = []
'';