33 lines
592 B
Nix
33 lines
592 B
Nix
{config, ...}: let
|
|
user = config.user;
|
|
in {
|
|
hardware.opengl.enable = true;
|
|
boot.kernelModules = ["qxl" "bochs_drm"];
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
home-manager.users.${user}.imports = [
|
|
{
|
|
home.stateVersion = "24.05";
|
|
|
|
# so it won't conflict with the host
|
|
windowManager.modifierKey = "ALT";
|
|
}
|
|
];
|
|
|
|
displays.displays = {
|
|
Virtual-1 = {
|
|
enable = true;
|
|
name = "Virtual-1";
|
|
workspaces = {
|
|
start = 1;
|
|
end = 10;
|
|
};
|
|
resolution = {
|
|
x = 1920;
|
|
y = 1080;
|
|
freq = 60;
|
|
};
|
|
};
|
|
};
|
|
}
|