2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-07 19:41:07 -04:00
|
|
|
inputs,
|
2024-06-04 01:18:46 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-04-07 22:16:33 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.desktop.hyprland.enable {
|
2024-07-07 19:17:35 -04:00
|
|
|
nix.settings = {
|
|
|
|
auto-optimise-store = false;
|
|
|
|
|
|
|
|
substituters = [
|
|
|
|
"https://hyprland.cachix.org"
|
|
|
|
"https://cache.nixos.org/"
|
|
|
|
];
|
|
|
|
|
|
|
|
trusted-public-keys = [
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-07-07 19:41:07 -04:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(final: prev: {
|
|
|
|
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
|
|
|
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2024-04-18 14:21:33 -04:00
|
|
|
programs = {
|
|
|
|
hyprland = {
|
|
|
|
enable = true;
|
2024-06-04 01:18:46 -04:00
|
|
|
package = pkgs.hyprland;
|
2024-04-18 14:21:33 -04:00
|
|
|
};
|
|
|
|
};
|
2024-03-28 16:13:46 -04:00
|
|
|
};
|
2024-03-28 16:40:23 -04:00
|
|
|
}
|