1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00

feat: set up cache

This commit is contained in:
TheGeneralist 2025-06-30 21:00:51 +02:00
parent 4c899bbfc6
commit 56cc86052f
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
6 changed files with 51 additions and 8 deletions

View file

@ -1,17 +1,24 @@
{ pkgs, lib, ...}: {
# todo: gc
# todo: cache
environment.systemPackages = with pkgs; [
nh
];
lib.debug.traceVal = pkgs.nh;
nix.settings = {
experimental-features = [
"flakes"
"nix-command"
"pipe-operators"
];
nix.settings.experimental-features = [
"flakes"
"nix-command"
"pipe-operators"
];
extra-substituters = [
"https://cache.thegeneralist01.com/"
];
extra-trusted-public-keys = [
"etc.thegeneralist01.com:BIhIf7HJ5xjFX+2e0WrGDQ4LdHeEEyQrtWBB1li2Ve8="
];
};
home-manager.sharedModules = [{
programs.nh = {