mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
nix: extra-substituters
This commit is contained in:
parent
b2426ceb26
commit
eacfd6f817
3 changed files with 43 additions and 7 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, lib, ... }:
|
||||
# generates global config
|
||||
# should be used with nixos or nix-darwin
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
nix.package = lib.mkDefault pkgs.nixVersions.nix_2_21;
|
||||
nix.package = pkgs.nixVersions.nix_2_21;
|
||||
nix.settings = {
|
||||
/*
|
||||
substituters can only be used by users that are trusted by nix -> nix trusts the user to do it right
|
||||
|
|
@ -15,12 +17,12 @@
|
|||
"https://leana8959.cachix.org"
|
||||
];
|
||||
trusted-substituters = [
|
||||
"https://leana8959.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
"https://leana8959.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
|
||||
];
|
||||
|
||||
experimental-features = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue