virtualisation: Add virglrender spice-vdagentd

This commit is contained in:
PapaTutuWawa 2021-09-02 21:06:09 +02:00
parent 360e4b94d2
commit db336bfd1c
2 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,7 @@ in mkHost config {
"distributed-build/builder.nix"
"music"
];
extraImports = [ "virtualisation/gaming.nix" ];
extraImports = [ "virtualisation/gaming.nix" "virtualisation" ];
fileSystems = {
"/" = {
device = "/dev/disk/by-label/root";

View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ virglrenderer ];
services.spice-vdagentd.enable = true;
}