nixcfg/nixosModules/desktop/hyprland/default.nix

30 lines
506 B
Nix

{
config,
inputs,
lib,
pkgs,
...
}: {
config = lib.mkIf config.ar.desktop.hyprland.enable {
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="
];
};
programs = {
hyprland = {
enable = true;
package = pkgs.hyprland;
};
};
};
}