From f8a716f8ba45aab4541f433197b64f04a03498cd Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sun, 2 Jun 2024 01:39:58 +0100 Subject: [PATCH] Use aichat flake --- flake.lock | 44 ++++++++++++++++++++++++++++++------------- flake.nix | 2 +- roles/home/aichat.nix | 4 ++-- 3 files changed, 34 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 8a99b6a..17972df 100644 --- a/flake.lock +++ b/flake.lock @@ -35,27 +35,27 @@ }, "nixos-unstable": { "locked": { - "lastModified": 1717234412, - "narHash": "sha256-G1BPi5PlMeI+262fCZbHq0eAjCco51dCDp/11DLL7+A=", - "owner": "NixOS", + "lastModified": 1717244666, + "narHash": "sha256-ulXScQazlg5gIPbxQ4ZmxuItAaVS/ECee/tUULu3W3Y=", + "owner": "r-ryantm", "repo": "nixpkgs", - "rev": "f302173b7fbca47e4d2793569f6f41604f54634a", + "rev": "239c8ca5385287a05ececa3a029354561b88b9f9", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "master", + "owner": "r-ryantm", "repo": "nixpkgs", + "rev": "239c8ca5385287a05ececa3a029354561b88b9f9", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1717225736, - "narHash": "sha256-IbJ9wR9xcNVo5LF/e9K3GnlEEGA84rUzTDl2LrY20kI=", + "lastModified": 1717284475, + "narHash": "sha256-SujMRmR/1TqanXZMC9gYNXTJHNy1deOmEj3ClE0zY0M=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3027b8b4cfe84f0dd6fad1c8a02a7a381af89c9c", + "rev": "5a25dc6b7ebfa0747dce67c85480eeda87f6df7a", "type": "github" }, "original": { @@ -95,13 +95,31 @@ "nvidia-patch": "nvidia-patch" } }, - "utils": { + "systems": { "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 05592a8..6648851 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/release-24.05"; - nixos-unstable.url = "github:NixOS/nixpkgs/master"; + nixos-unstable.url = "github:r-ryantm/nixpkgs/239c8ca5385287a05ececa3a029354561b88b9f9"; local-unstable.url = "path:///home/giulio/dev/nixpkgs"; home-manager = { url = "github:nix-community/home-manager/release-24.05"; diff --git a/roles/home/aichat.nix b/roles/home/aichat.nix index d7a1e61..4b27de3 100644 --- a/roles/home/aichat.nix +++ b/roles/home/aichat.nix @@ -11,9 +11,9 @@ let - name: pino max_input_tokens: null - name: code-commenter - max_input_tokens: null + max_input_tokens: 32000 - name: git-commit-message - max_input_tokens: null + max_input_tokens: 32000 - type: claude api_key: null