add anyrun bin cache

This commit is contained in:
jacekpoz 2024-07-16 18:25:12 +02:00
parent 4f4335b04d
commit e196941cec
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -13,6 +13,15 @@ in {
options.myOptions.programs.anyrun.enable = mkEnableOption "anyrun"; options.myOptions.programs.anyrun.enable = mkEnableOption "anyrun";
config = mkIf cfg.enable { config = mkIf cfg.enable {
nix.settings = {
substituters = [
"https://anyrun.cachix.org"
];
trusted-public-keys = [
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
];
};
home-manager.users.${username} = { home-manager.users.${username} = {
imports = [ inputs.anyrun.homeManagerModules.default ]; imports = [ inputs.anyrun.homeManagerModules.default ];