# Only apply this to home-manager standalone { inputs, outputs, pkgs, ... }: { imports = [inputs.stylix.homeModules.stylix]; stylix.enable = true; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; # Expire old hm generations hm-expire = { enable = true; dates = "weekly"; expire = "-30 days"; }; # Remove unused packets nix.gc = { automatic = true; dates = "weekly"; persistent = true; }; nixpkgs = { # Apply overlays overlays = builtins.attrValues outputs.overlays; config = { allowUnfree = true; allowUnfreePredicate = _: true; # TODO: what is this warn-dirty = false; }; }; # Setup binary caches nix.settings = { substituters = [ "https://nix-community.cachix.org" "https://cache.nixos.org/" "https://hyprland.cachix.org" "https://devenv.cachix.org" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" ]; trusted-users = [ "root" "@wheel" ]; experimental-features = [ "nix-command" "flakes" "ca-derivations" ]; # nix.settings. # warn-dirty = false; # TODO: do I want this # # Ensure we can still build when missing-server is not accessible fallback = true; }; }