mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
Use several binary caches for flake
This commit is contained in:
parent
73c98916a5
commit
66c7d8a509
@ -1,5 +1,12 @@
|
|||||||
{
|
{
|
||||||
description = "foo-dogsquared's NixOS config as a flake";
|
description = "foo-dogsquared's NixOS config as a flake";
|
||||||
|
|
||||||
|
nixConfig = {
|
||||||
|
extra-experimental-features = "nix-command flake";
|
||||||
|
extra-substituters ="https://nix-community.cachix.org https://foo-dogsquared.cachix.org";
|
||||||
|
extra-trusted-public-keys = "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= foo-dogsquared.cachix.org-1:/2fmqn/gLGvCs5EDeQmqwtus02TUmGy0ZlAEXqRE70E=";
|
||||||
|
};
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# I know NixOS can be stable but we're going cutting edge, baybee!
|
# I know NixOS can be stable but we're going cutting edge, baybee!
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
@ -104,6 +111,7 @@
|
|||||||
# Set several binary caches.
|
# Set several binary caches.
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
substituters = [
|
substituters = [
|
||||||
|
"https://cache.nixos.org"
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://foo-dogsquared.cachix.org"
|
"https://foo-dogsquared.cachix.org"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user