pointfichiers/de/hypr/default.nix

68 lines
1.4 KiB
Nix
Raw Normal View History

2024-09-16 14:59:29 +02:00
{
inputs,
2024-09-16 14:59:29 +02:00
pkgs,
...
}: {
2024-09-16 14:59:29 +02:00
home.file = {
".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d;
# Gamemode script
".config/hypr/gamemode.sh" = {
source = ./gamemode.sh;
executable = true;
};
# 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;
};
# Wallpaperctl script
".local/bin/wallpaperctl" = {
source = ../../bin/wallpaperctl;
executable = true;
};
2024-09-16 14:59:29 +02:00
};
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
2024-09-20 21:25:18 +02:00
pkgs.swww
# Apps launchable from bindings
pkgs.firefox
pkgs.kitty
pkgs.yazi
# Theme
pkgs.bibata-cursors
];
2024-09-16 14:59:29 +02:00
wayland.windowManager.hyprland = {
enable = true;
extraConfig = builtins.readFile ./hyprland.conf;
plugins = [inputs.hy3.packages.${pkgs.system}.hy3];
2024-09-16 14:59:29 +02:00
};
2024-09-18 14:55:52 +02:00
# bar is required
2024-09-18 15:00:31 +02:00
imports = [
2024-09-18 14:55:52 +02:00
../../bar
../../term/alacritty
../../misc/swayosd
../../misc/anyrun
../../misc/end-rs
2024-09-18 15:00:31 +02:00
];
2024-09-16 14:59:29 +02:00
}