diff --git a/.github/workflows/nix-binary-cache.yml b/.github/workflows/nix-binary-cache.yml index ce0b5e0..483118e 100644 --- a/.github/workflows/nix-binary-cache.yml +++ b/.github/workflows/nix-binary-cache.yml @@ -23,7 +23,7 @@ jobs: # Github found at # https://github.com//nur-packages/settings/secrets cachixName: - - + - 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 diff --git a/flake.nix b/flake.nix index ecb72c8..5e2841d 100644 --- a/flake.nix +++ b/flake.nix @@ -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://.cachix.org" + "https://librekeys.cachix.org" ]; extra-trusted-public-keys = [ - "" + "librekeys.cachix.org-1:q+NyQsZgHyIMhYCIxyfpGs5jMU0/WHK7JTYgVbN3Iuk=" ]; }; }