27 lines
518 B
Nix
27 lines
518 B
Nix
|
{ 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;
|
||
|
}
|
||
|
|