chore(ci): add cachix ci info

This commit is contained in:
Suyog Tandel
2026-02-11 23:22:33 +05:30
parent 868c6002c3
commit 3e2f529f91
2 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
# Github found at
# https://github.com/<your_githubname>/nur-packages/settings/secrets
cachixName:
- <YOUR_CACHIX_NAME>
- librekeys
nixPath:
- nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz
- nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-unstable.tar.gz
+21 -8
View File
@@ -6,21 +6,34 @@
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs@{ flake-parts, ... }:
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "x86_64-darwin" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
packages = import ./default.nix { inherit pkgs; };
devShells.default = import ./shell.nix { inherit pkgs; };
};
systems = [
"x86_64-linux"
"x86_64-darwin"
];
perSystem =
{
config,
self',
inputs',
pkgs,
system,
...
}:
{
packages = import ./default.nix { inherit pkgs; };
devShells.default = import ./shell.nix { inherit pkgs; };
};
};
nixConfig = {
extra-substituters = [
"https://<YOUR_CACHIX_NAME>.cachix.org"
"https://librekeys.cachix.org"
];
extra-trusted-public-keys = [
"<YOUR_CACHIX_PUBLIC_KEY>"
"librekeys.cachix.org-1:q+NyQsZgHyIMhYCIxyfpGs5jMU0/WHK7JTYgVbN3Iuk="
];
};
}