universe/home/system/nix.nix

35 lines
942 B
Nix
Raw Normal View History

2025-03-02 11:53:58 +00:00
{
inputs,
2025-03-02 12:14:39 +00:00
config,
2025-03-02 19:00:36 +00:00
pkgs,
2025-03-02 11:53:58 +00:00
...
}: {
nix = {
2025-03-02 19:00:36 +00:00
package = pkgs.nix;
2025-03-02 11:53:58 +00:00
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
settings = {
extra-substituters = [
"https://cache.garnix.io"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
"https://hyprland.cachix.org"
];
extra-trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
builders-use-substitutes = true;
auto-optimise-store = true;
trusted-users = [
2025-03-02 12:14:39 +00:00
config.home.username
2025-03-02 11:53:58 +00:00
"root"
"@wheel"
];
warn-dirty = false;
extra-experimental-features = ["nix-command" "flakes"];
};
};
}