mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
complete rework
This commit is contained in:
parent
d68c699a7a
commit
16813aeef9
89 changed files with 2888 additions and 1658 deletions
18
machines/qemu/default.nix
Normal file
18
machines/qemu/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
username,
|
||||
stateVersion,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../targets/graphical.nix
|
||||
../../targets/shell.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
user.username = username;
|
||||
system.stateVersion = stateVersion;
|
||||
monitor.primary.resolution = "1920x1080";
|
||||
services.qemuGuest.enable = true;
|
||||
services.spice-vdagentd.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue