{ inputs, ... }: { flake.nixosModules.default = { config, lib, pkgs, ... }: { config = { nix = { nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; channel.enable = false; settings = { experimental-features = [ "nix-command" "flakes" ]; substituters = lib.mkIf config.programs.hyprland.enable ["https://hyprland.cachix.org"]; trusted-substituters = lib.mkIf config.programs.hyprland.enable ["https://hyprland.cachix.org"]; trusted-public-keys = lib.mkIf config.programs.hyprland.enable ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; }; }; }; }; }