NixOS/home/modules/hyprland/default.nix

58 lines
1,013 B
Nix
Raw Normal View History

{
pkgs,
lib,
config,
...
}:
2024-06-12 09:54:11 +07:00
let
cfg = config.profile.hyprland;
in
{
imports = [
# ./dunst.nix
2024-06-12 09:54:11 +07:00
./hypridle.nix
./hyprland.nix
./hyprlock.nix
./hyprshot.nix
2024-06-12 09:54:11 +07:00
# 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
./waybar.nix
./wlogout.nix
# ./swappy.nix
2024-06-12 09:54:11 +07:00
./alacritty.nix
./swayosd.nix
./swaync.nix
./ntfy-sh.nix
./gnome-keyring.nix
2024-10-24 17:27:43 +07:00
./kdeconnect.nix
./wallust
2024-06-12 09:54:11 +07:00
];
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
cliphist
qalculate-gtk
pavucontrol
pasystray
graphicsmagick
pkgs.swayosd
2024-06-12 09:54:11 +07:00
image-roll # image viewer
];
home.pointerCursor = {
name = "Adwaita";
package = pkgs.gnome.adwaita-icon-theme;
size = 24;
x11 = {
enable = true;
defaultCursor = "Adwaita";
};
};
};
}