From d6a9189c14090e1ab84a92c96a2eac6ee3f0f78c Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 28 Jul 2024 15:11:09 -0400 Subject: [PATCH 1/2] update flake lock Signed-off-by: ahuston-0 --- flake.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 6196d92..3e10c97 100644 --- a/flake.lock +++ b/flake.lock @@ -96,11 +96,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1721041886, - "narHash": "sha256-++QkbIIyDpJygScgIa/QqjJB4uh2k2zelvFgvY9LFGw=", + "lastModified": 1722179153, + "narHash": "sha256-ZJ75T0GWpLI4hoaL+YxueHD2pXG+VYpYtPJdwbkERVs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "75686331f0a24b0d04e82db7411777a521f51f4f", + "rev": "dcfb2878c687e5eb5fcbc5116969c45c85be34e2", "type": "github" }, "original": { @@ -137,11 +137,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1721010580, - "narHash": "sha256-qxN9it4uicRKdEjKlSt3BvXC+mWgLlJHNwMztSQsQsE=", + "lastModified": 1721039874, + "narHash": "sha256-XANsG9GYHip8pxZpbqKf/YGv8tIa0xTh289Y+WNBNfw=", "owner": "nix-community", "repo": "poetry2nix", - "rev": "7f304a86324aea2026e65e508c82af7127f9b00d", + "rev": "d11c01e58587e5f21037ed6477465a7f26a32e27", "type": "github" }, "original": { From fd9fbf1ad7a27098971903271df018abb35c43cd Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 28 Jul 2024 15:30:18 -0400 Subject: [PATCH 2/2] add cache --- flake.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/flake.nix b/flake.nix index 0fee803..899b89a 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,24 @@ { description = "Application packaged using poetry2nix"; + nixConfig = { + substituters = [ + "https://cache.nixos.org/?priority=1&want-mass-query=true" + "https://attic.alicehuston.xyz/cache-nix-dot?priority=4&want-mass-query=true" + "https://nix-community.cachix.org/?priority=10&want-mass-query=true" + ]; + trusted-substituters = [ + "https://cache.nixos.org" + "https://attic.alicehuston.xyz/cache-nix-dot" + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "cache-nix-dot:Od9KN34LXc6Lu7y1ozzV1kIXZa8coClozgth/SYE7dU=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; + inputs = { flake-utils.url = "github:numtide/flake-utils"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";