Looking Glass: Difference between revisions

Created page with " === Prerequisites === * NixOS 25.11 (unstable should work too) * Looking Glass B7 * systemd 258 (because of [https://github.com/systemd/systemd/issues/39056 this]) === Configuration === ==== IVSHMEM with the KVMFR module ==== ====== Installing and Loading ====== <syntaxhighlight lang=nix> boot.extraModulePackages = [ config.boot.kernelPackages.kvmfr ]; boot.initrd.kernelModules = [ "kvmfr" ]; boot.kernelParams = [ "kvmfr.static_..."
 
m Permissions: Missing closing bracket
Line 21: Line 21:
====== Permissions ======
====== Permissions ======


<syntaxhighlight lang=nix>
<syntaxhighlight lang="nix">
   services.udev.packages = lib.singleton (pkgs.writeTextFile
   services.udev.packages = lib.singleton (pkgs.writeTextFile
     {  
     {  
Line 30: Line 30:
       destination = "/etc/udev/rules.d/70-kvmfr.rules";
       destination = "/etc/udev/rules.d/70-kvmfr.rules";
     }
     }
  );
      
      
   users.users = {  
   users.users = {  
Line 36: Line 37:
     };
     };
   };
   };
</syntaxhighlight >
</syntaxhighlight>


====== CGroups ======
====== CGroups ======