diff --git a/clanModules/flake-module.nix b/clanModules/flake-module.nix index f68bc27b..ed675694 100644 --- a/clanModules/flake-module.nix +++ b/clanModules/flake-module.nix @@ -17,6 +17,7 @@ static-hosts = ./static-hosts; syncthing = ./syncthing; thelounge = ./thelounge; + trusted-nix-caches = ./trusted-nix-caches; user-password = ./user-password; xfce = ./xfce; zerotier-static-peers = ./zerotier-static-peers; diff --git a/clanModules/trusted-nix-caches/README.md b/clanModules/trusted-nix-caches/README.md new file mode 100644 index 00000000..ffd52fb4 --- /dev/null +++ b/clanModules/trusted-nix-caches/README.md @@ -0,0 +1,2 @@ +This module sets the `clan.lol` and `nix-community` cache up as a trusted cache. +---- diff --git a/clanModules/trusted-nix-caches/default.nix b/clanModules/trusted-nix-caches/default.nix new file mode 100644 index 00000000..03dfd1ae --- /dev/null +++ b/clanModules/trusted-nix-caches/default.nix @@ -0,0 +1,10 @@ +{ + nix.settings.trusted-substituters = [ + "https://cache.clan.lol" + "https://nix-community.cachix.org" + ]; + nix.settings.trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cache.clan.lol-1:3KztgSAB5R1M+Dz7vzkBGzXdodizbgLXGXKXlcQLA28=" + ]; +} diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 58de8222..42be4237 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -64,6 +64,7 @@ nav: - reference/clanModules/syncthing.md - reference/clanModules/static-hosts.md - reference/clanModules/thelounge.md + - reference/clanModules/trusted-nix-caches.md - reference/clanModules/user-password.md - reference/clanModules/xfce.md - reference/clanModules/zerotier-static-peers.md