Formatting + misc changes

This commit is contained in:
2026-03-12 00:15:38 +01:00
parent 6ff3ca400b
commit d30200f081
14 changed files with 60 additions and 43 deletions

View File

@@ -38,6 +38,7 @@
];
blacklistedKernelModules = [ "k10temp" ];
kernelParams = [
"amdgpu.seamless=1"
"rd.udev.log_priority=3"

View File

@@ -10,5 +10,6 @@
./packages.nix
./programs.nix
./services.nix
./vm.nix
];
}

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