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;
|
2023-11-20 02:22:10 -08:00
|
|
|
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
|
2023-11-20 02:22:10 -08:00
|
|
|
];
|
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
|
|
|
}
|