setup sway vm

This commit is contained in:
tristan 2024-01-06 22:35:25 +00:00
parent e67707b0f0
commit 35fa5b6bda
10 changed files with 118 additions and 111 deletions

View file

@ -1,11 +1,33 @@
{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;
};
};
};
}