os/shared/core/gui/sway.nix
2023-05-21 19:15:04 +00:00

10 lines
270 B
Nix

{ ... }: {
hardware.opengl.enable = true;
services.xserver.enable = true;
services.xserver.displayManager.gdm = {
enable = true;
};
programs.sway.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.modesetting.enable = true;
}