mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-04-01 02:00:22 +02:00
Formatting + misc changes
This commit is contained in:
@@ -10,5 +10,6 @@
|
||||
./packages.nix
|
||||
./programs.nix
|
||||
./services.nix
|
||||
./vm.nix
|
||||
];
|
||||
}
|
||||
|
||||
26
desktop/modules/vm.nix
Normal file
26
desktop/modules/vm.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
virtualisation.vmVariant = {
|
||||
virtualisation = {
|
||||
memorySize = 8192;
|
||||
cores = 4;
|
||||
graphics = true;
|
||||
diskSize = 20 * 1024;
|
||||
qemu.options = [
|
||||
"-device virtio-vga-gl"
|
||||
"-display gtk,gl=on"
|
||||
"-cpu host"
|
||||
];
|
||||
};
|
||||
|
||||
users.users.jax.password = "nixos";
|
||||
services.displayManager.autoLogin = {
|
||||
enable = true;
|
||||
user = "jax";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user