add nix-community cache

This commit is contained in:
Peder Bergebakken Sundt 2023-06-19 02:44:40 +02:00
parent 280c9c69d0
commit d6f9b79097
2 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ config, pkgs, lib, inputs, ... }: { config, pkgs, lib, inputs, ... }:
{ {
imports = [ imports = [
./cachix.nix ./cachix.nix # update with `cachix use --mode nixos -d . FOOBAR`
./profiles/locale-no.nix ./profiles/locale-no.nix
# results of 'nixos-generate-config' # results of 'nixos-generate-config'
# nice to have if i just dump this flake into /etc/nixos on a clean install # nice to have if i just dump this flake into /etc/nixos on a clean install

13
cachix/nix-community.nix Normal file
View File

@ -0,0 +1,13 @@
{
nix = {
settings = {
substituters = [
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
};
}