mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-04-01 02:00:22 +02:00
Implement home-manager
This commit is contained in:
23
common/modules/vm.nix
Normal file
23
common/modules/vm.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
virtualisation.vmVariant = {
|
||||
virtualisation.memorySize = 8192;
|
||||
|
||||
virtualisation.cores = 4;
|
||||
virtualisation.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