Switch to wayland and sway

This commit is contained in:
Oliver Davies 2024-03-22 23:38:40 +00:00
parent f6c366611e
commit e92cfa3b23
9 changed files with 270 additions and 195 deletions

View file

@ -67,16 +67,6 @@ in {
layout = "gb";
variant = "";
};
displayManager = {
defaultSession = "none+i3";
lightdm.enable = true;
};
windowManager.i3 = {
enable = true;
extraPackages = with pkgs; [ i3status i3lock i3blocks ];
};
};
# Configure console keymap
@ -89,20 +79,19 @@ in {
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
# services.pipewire = {
# enable = true;
# alsa.enable = true;
# alsa.support32Bit = true;
# pulse.enable = true;
# # If you want to use JACK applications, uncomment this
# #jack.enable = true;
#
# # use the example session manager (no others are packaged yet so this is enabled by default,
# # no need to redefine it in your config for now)
# #media-session.enable = true;
# };
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;