nix-dotfiles/programs/hypr/default.nix

22 lines
616 B
Nix
Raw Normal View History

2023-11-20 01:31:41 -08:00
{ config, pkgs, ... }:
2024-01-20 14:03:54 -08:00
let rootPath = ./.; in
2023-11-20 01:31:41 -08:00
{
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.extraConfig = ''
${builtins.readFile ./default.conf}
${builtins.readFile ./keybinds.conf}
'';
2024-01-20 14:03:54 -08:00
# wayland.windowManager.hyprland.enableNvidiaPatches = true;
home.packages = with pkgs; [
socat # For hyprland scripts
swww # Wallpaper engine
wlr-randr # Xrandr for wayland
2024-01-20 14:03:54 -08:00
xdg-desktop-portal-hyprland # XDP for hyprland
];
2024-01-20 14:03:54 -08:00
xdg.configFile."hypr-scripts" = {
source = rootPath + "/scripts";
target = "hypr/scripts";
executable = true;
};
2023-11-20 01:31:41 -08:00
}