dots/users/price/conf/nix/default.nix
Price Hiller f4024113ad
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 33s
feat(nix): enable experimental pipe-operators
2024-11-06 16:09:52 -06:00

28 lines
641 B
Nix

{ pkgs, ... }:
{
nix = {
package = pkgs.nix;
gc = {
automatic = true;
};
settings = {
experimental-features = [
"pipe-operators"
"nix-command"
"flakes"
];
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
];
auto-optimise-store = true;
use-xdg-base-directories = true;
trusted-users = [ "@wheel" ];
};
};
}