bennu: Use wayland and sway

This commit is contained in:
Alexander Heldt
2023-07-21 21:01:21 +02:00
parent 15f8424685
commit d5571ca03c
2 changed files with 26 additions and 9 deletions

View File

@@ -49,15 +49,8 @@
LC_TIME = "sv_SE.UTF-8"; LC_TIME = "sv_SE.UTF-8";
}; };
# Configure keymap in X11 security.polkit.enable = true;
services.xserver = { hardware.opengl.enable = true;
enable = true;
layout = "se";
xkbVariant = "";
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
# Configure console keymap # Configure console keymap
console.keyMap = "sv-latin1"; console.keyMap = "sv-latin1";

View File

@@ -89,5 +89,29 @@
''; '';
}; };
wayland.windowManager.sway = {
enable = true;
config = {
modifier = "Mod4"; # Super key
input = {
"type:keyboard"= {
xkb_layout = "se";
};
"type:touchpad" = {
tap = "enabled";
drag = "disabled";
};
};
output = {
"eDP-1" = {
mode = "1020x1200@60Hz";
};
};
};
};
home.stateVersion = "23.05"; home.stateVersion = "23.05";
} }