virtualisation: Add virglrender spice-vdagentd
This commit is contained in:
parent
360e4b94d2
commit
db336bfd1c
@ -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";
|
||||
|
7
modules/virtualisation/default.nix
Normal file
7
modules/virtualisation/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ virglrenderer ];
|
||||
|
||||
services.spice-vdagentd.enable = true;
|
||||
}
|
Loading…
Reference in New Issue
Block a user