mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
complete rework v2
This commit is contained in:
parent
16813aeef9
commit
7409e9ca10
106 changed files with 1522 additions and 403 deletions
15
parts/vm.nix
Normal file
15
parts/vm.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{mylib, ...}: {
|
||||
perSystem = {system, ...}: {
|
||||
packages.vm = mylib.mkVm [
|
||||
./modules/base.nix
|
||||
./modules/graphical.nix
|
||||
{
|
||||
user.username = "vm";
|
||||
system.stateVersion = "24.11";
|
||||
monitor.primary.resolution = "1920x1080";
|
||||
services.qemuGuest.enable = true;
|
||||
services.spice-vdagentd.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue