2024-02-14 15:23:49 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
(writeShellApplication {
|
|
|
|
name = "rebuild-no-cache";
|
|
|
|
runtimeInputs = [config.nh.package];
|
|
|
|
text = ''
|
2024-02-17 20:45:06 -05:00
|
|
|
nh os switch -- --option binary-caches "https://cache.nixos.org" "$@"
|
2024-02-14 15:23:49 -05:00
|
|
|
'';
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2023-10-20 12:12:37 -04:00
|
|
|
nix = {
|
|
|
|
settings = {
|
|
|
|
substituters = [
|
|
|
|
"https://hyprland.cachix.org"
|
|
|
|
"https://nix-gaming.cachix.org"
|
|
|
|
# Nixpkgs-Wayland
|
|
|
|
"https://cache.nixos.org"
|
|
|
|
"https://nixpkgs-wayland.cachix.org"
|
|
|
|
"https://nix-community.cachix.org"
|
2024-01-23 09:06:09 -05:00
|
|
|
# Nix-community
|
2023-10-20 12:12:37 -04:00
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
# Nh
|
|
|
|
"https://viperml.cachix.org"
|
2023-12-21 17:01:42 -05:00
|
|
|
# Caddy
|
|
|
|
"https://caddycf.cachix.org"
|
2023-12-25 02:57:07 -05:00
|
|
|
# Personal config cache
|
2023-12-26 00:48:43 -05:00
|
|
|
"https://cache.nelim.org"
|
2023-10-20 12:12:37 -04:00
|
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
|
|
|
# Nixpkgs-Wayland
|
|
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
|
|
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
2024-01-23 09:06:09 -05:00
|
|
|
# Nix-community
|
2023-10-20 12:12:37 -04:00
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
# Nh
|
|
|
|
"viperml.cachix.org-1:qZhKBMTfmcLL+OG6fj/hzsMEedgKvZVFRRAhq7j8Vh8="
|
2023-12-21 17:01:42 -05:00
|
|
|
# Caddy
|
|
|
|
"caddycf.cachix.org-1:6vbQaeiec/zKv9XfEwi9yWVCe7opbeJMu6w81UEXugY="
|
2023-12-25 02:57:07 -05:00
|
|
|
# Personal config cache
|
2023-12-26 00:48:43 -05:00
|
|
|
"cache.nelim.org:JmFqkUdH11EA9EZOFAGVHuRYp7EbsdJDHvTQzG2pPyY="
|
2023-10-20 12:12:37 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|