{ config, ... }: { nix = { settings = { auto-optimise-store = true; http-connections = 0; warn-dirty = false; log-lines = 50; # sandbox = "relaxed"; extra-sandbox-paths = [ config.programs.ccache.cacheDir ]; trusted-users = [ "@wheel" ]; allowed-users = [ "root" "@wheel" ]; substituters = [ "https://cache.nixos.org/" "https://nix-community.cachix.org" "https://hyprland.cachix.org" "https://nyx.chaotic.cx/" "https://nixpkgs-wayland.cachix.org/" ]; trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8=" "nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA=" ]; experimental-features = [ "nix-command" "flakes" ]; }; gc = { automatic = true; dates = "daily"; options = "--delete-older-than 3d"; }; }; }