added vm auto-resizing screens.

This commit is contained in:
Gabe Venberg 2024-05-09 17:47:54 -05:00
parent 43a47321e4
commit 07a4bf6477
11 changed files with 70 additions and 38 deletions

View file

@ -0,0 +1,13 @@
{
config,
pkgs,
lib,
...
}: {
#note: needs to have something that autostarts desktop files.
services.spice-vdagentd.enable = true;
imports = [
./vm.nix
];
host.gui.enable = true;
}

10
roles/nixos/vm.nix Normal file
View file

@ -0,0 +1,10 @@
{
config,
pkgs,
lib,
inputs,
...
}: {
services.qemuGuest.enable = true;
host.isVm = true;
}