https://github.com/NamitBhutani/nixos-config
This is my config, I have setup cachix this way -
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";
};
};
I am on a flake setup with Hyprland input and nixos unstable input, whenever I do a flake update and build, it rebuilds Hyprland everytime and sometimes causes my laptop to overheat and crash, Thus I want to setup Cachix, but it doesn’t work with my current config.
Also any tips on pulling pre built binaries for updates would be appreciated, as I dont want to build all programs from scratch on every flake update.
tia