1
Fork 0
nixos-system-config/packages/wm/sway.nix

27 lines
518 B
Nix
Raw Normal View History

{ config, pkgs, ...}:
{
environment.systemPackages = with pkgs; [
rofi-wayland
foot
];
environment.variables = {
LIBVA_DRIVER_NAME = "nvidia";
XDG_SESSION_TYPE = "wayland";
GBM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
NIXOS_OZONE_WL = 1;
};
# programs.hyprland.enable = true;
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
}