{ inputs, pkgs, ... }: { # Optimization settings and garbage collection automation nix = { settings = { auto-optimise-store = true; experimental-features = [ "nix-command" "flakes" ]; substituters = ["https://hyprland.cachix.org"]; trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; }; gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 7d"; }; nixPath = ["nixpkgs=${inputs.nixpkgs}"]; }; nixpkgs.config = { allowUnfree = true; pulseaudio = true; }; # Extra Portal Configuration xdg.portal = { enable = true; xdgOpenUsePortal = true; wlr.enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland ]; config = { common = { default = [ "gtk" "hyprland" ]; }; }; configPackages = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland ]; }; environment = { variables = { ZANEYOS_VERSION = "2.2"; ZANEYOS = "true"; }; }; }