48 lines
850 B
Nix
48 lines
850 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.wayland.windowManager.hyprland;
|
|
in
|
|
{
|
|
imports = [
|
|
./hypridle.nix
|
|
./hyprland.nix
|
|
./hyprlock.nix
|
|
./hyprpaper.nix
|
|
./keybinds.nix
|
|
];
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
systemd.user.sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
WLR_RENDERER_ALLOW_SOFTWARE = "1";
|
|
XDG_CURRENT_DESKTOP = "Hyprland";
|
|
XDG_SESSION_DESKTOP = "Hyprland";
|
|
XDG_SESSION_TYPE = "wayland";
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
bibata-cursors
|
|
swaynotificationcenter
|
|
wl-clipboard
|
|
];
|
|
|
|
home.pointerCursor = {
|
|
name = "Bibata-Modern-Ice";
|
|
package = pkgs.bibata-cursors;
|
|
size = 24;
|
|
gtk.enable = true;
|
|
x11 = {
|
|
enable = true;
|
|
defaultCursor = true;
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|