pointfichiers/de/hypr/default.nix
2024-09-20 21:25:18 +02:00

58 lines
1.2 KiB
Nix

{
inputs,
pkgs,
...
}: {
home.file = {
".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d;
# Hyprland launch wrapper
".local/bin/Hyprland" = {
source = ../../bin/Hyprland;
executable = true;
};
# UWU launcher script
".local/bin/uwu-launcher" = {
source = ../../bin/uwu-launcher;
executable = true;
};
# Togglescreen script
".local/bin/togglescreen" = {
source = ../../bin/togglescreen;
executable = true;
};
};
home.packages = [
pkgs.egl-wayland # For NVIDIA compatibility
pkgs.xdg-desktop-portal-hyprland
# Common DE packages required in config
pkgs.wl-clipboard-rs
pkgs.grim
pkgs.slurp
pkgs.hyprpicker
pkgs.udiskie
pkgs.swww
# Apps launchable from bindings
pkgs.firefox
pkgs.kitty
pkgs.yazi
# Theme
pkgs.bibata-cursors
pkgs.qogir-theme
pkgs.qogir-icon-theme
];
wayland.windowManager.hyprland = {
enable = true;
extraConfig = builtins.readFile ./hyprland.conf;
plugins = [inputs.hy3.packages.${pkgs.system}.hy3];
};
# bar is required
imports = [
../../bar
../../term/alacritty
../../misc/swayosd
../../misc/anyrun
];
}