NixOS/home/modules/hyprland/default.nix

51 lines
1,005 B
Nix

{ pkgs, lib, config, ... }:
let
cfg = config.profile.hyprland;
in
{
imports = [
# ./dunst.nix
./hypridle.nix
./hyprland.nix
./hyprlock.nix
./hyprshot.nix
# hyprpaper seems to be broken with out of memory and failure to swap wallpapers correctly.
# Use swww for now until the application is stable.
# ./hyprpaper.nix
./pyprland.nix
./rofi.nix
./wallust.nix
./waybar.nix
./wlogout.nix
# ./swappy.nix
./alacritty.nix
./swayosd.nix
./sway-notification-center.nix
./ntfy-sh.nix
./gnome-keyring.nix
];
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
cliphist
qalculate-gtk
pavucontrol
pasystray
graphicsmagick
pkgs.swayosd
image-roll # image viewer
];
home.pointerCursor = {
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
size = 24;
x11 = {
enable = true;
defaultCursor = "Adwaita";
};
};
};
}