Implement home-manager

This commit is contained in:
2026-03-01 08:19:46 +01:00
parent 689efaa75b
commit 956ace75b0
31 changed files with 764 additions and 22 deletions

23
common/modules/vm.nix Normal file
View 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";
};
};
}