feat: add cachix stuffs

This commit is contained in:
Ashhhleyyy 2023-10-03 23:13:57 +01:00
parent 13279974d4
commit 9ea9ea6ff2
Signed by: ash
GPG key ID: 83B789081A0878FB
3 changed files with 17 additions and 1 deletions

13
common/cachix.nix Normal file
View file

@ -0,0 +1,13 @@
{
nix = {
settings = {
substituters = [
"https://cache.nixos.org"
"https://ashhhleyyy.cachix.org"
];
trusted-public-keys = [
"ashhhleyyy.cachix.org-1:s38C2TcMTtjaNv9uDwG918ehi0L2Uxw0OlGXPiWRchg="
];
};
};
}

View file

@ -1,5 +1,7 @@
{ pkgs, ... }: rec {
imports = [ ];
imports = [
./cachix.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];

View file

@ -7,5 +7,6 @@
home.packages = with pkgs; [
wget
cachix
];
}