blob: 2acf5b681ba6f3adef75eb072b4c6d10a23110d1 (
plain) (
tree)
|
|
{ config, lib, pkgs, user, ... }:
with lib;
let
in
{
options = {
hyprland = {
enable = mkOption {
type = types.bool;
default = false;
};
};
};
config = mkIf (config.hyprland.enable)
{
environment.variables.WLR_NO_HARDWARE_CURSORS = "1";
environment.systemPackages = with pkgs; [
wayland
glib
wl-clipboard
wdisplays
hyprpaper
];
programs.hyprland = {
enable = true;
xwayland.enable = true;
enableNvidiaPatches = true;
};
programs.waybar = {
enable = true;
};
};
}
|