# # Hyprland Configuration # Enable with "hyprland.enable = true;" # { config, lib, system, pkgs, unstable, hyprland, vars, host, ... }: with lib; with host; { options = { hyprland = { enable = mkOption { type = types.bool; default = false; }; }; }; config = mkIf (config.hyprland.enable) { environment = { systemPackages = with pkgs; [ grim # Grab Images slurp # Region Selector wl-clipboard # Clipboard wlr-randr # Monitor Settings ]; }; programs = { hyprland = { # Window Manager enable = true; package = hyprland.packages.${pkgs.system}.hyprland; nvidiaPatches = if hostName == "desktop" then true else false; }; }; nix.settings = { substituters = ["https://hyprland.cachix.org"]; trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; }; # Cache }; }