From f71b0358d3ea2e1666e1a31be29f59f48ceea6ff Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 19 Mar 2025 10:28:34 +0100 Subject: [PATCH] feat: add claude-code to unstable and X1 systems Added `claude-code` to the `unstable` overlay and the X1 system package list. Updated `flake.lock` to include the latest revisions of dependencies. --- flake.lock | 18 +++++++++--------- overlays/unstable/default.nix | 10 +++++++++- systems/x86_64-linux/x1/default.nix | 1 + 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index eae5b3c..03d67b5 100644 --- a/flake.lock +++ b/flake.lock @@ -349,11 +349,11 @@ ] }, "locked": { - "lastModified": 1739757849, - "narHash": "sha256-Gs076ot1YuAAsYVcyidLKUMIc4ooOaRGO0PqTY7sBzA=", + "lastModified": 1742234739, + "narHash": "sha256-zFL6zsf/5OztR1NSNQF33dvS1fL/BzVUjabZq4qrtY4=", "owner": "nix-community", "repo": "home-manager", - "rev": "9d3d080aec2a35e05a15cedd281c2384767c2cfe", + "rev": "f6af7280a3390e65c2ad8fd059cdc303426cbd59", "type": "github" }, "original": { @@ -760,11 +760,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1740339700, - "narHash": "sha256-cbrw7EgQhcdFnu6iS3vane53bEagZQy/xyIkDWpCgVE=", + "lastModified": 1742268799, + "narHash": "sha256-IhnK4LhkBlf14/F8THvUy3xi/TxSQkp9hikfDZRD4Ic=", "owner": "nixos", "repo": "nixpkgs", - "rev": "04ef94c4c1582fd485bbfdb8c4a8ba250e359195", + "rev": "da044451c6a70518db5b730fe277b70f494188f1", "type": "github" }, "original": { @@ -2763,11 +2763,11 @@ }, "unstable": { "locked": { - "lastModified": 1740367490, - "narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=", + "lastModified": 1742288794, + "narHash": "sha256-Txwa5uO+qpQXrNG4eumPSD+hHzzYi/CdaM80M9XRLCo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "0196c0175e9191c474c26ab5548db27ef5d34b05", + "rev": "b6eaf97c6960d97350c584de1b6dcff03c9daf42", "type": "github" }, "original": { diff --git a/overlays/unstable/default.nix b/overlays/unstable/default.nix index 91539b8..b4828a0 100644 --- a/overlays/unstable/default.nix +++ b/overlays/unstable/default.nix @@ -1 +1,9 @@ -{ channels, ... }: final: prev: { inherit (channels.unstable) jetbrains-toolbox ollama open-webui; } +{ channels, ... }: +final: prev: { + inherit (channels.unstable) + jetbrains-toolbox + ollama + open-webui + claude-code + ; +} diff --git a/systems/x86_64-linux/x1/default.nix b/systems/x86_64-linux/x1/default.nix index 10f491c..ce93000 100644 --- a/systems/x86_64-linux/x1/default.nix +++ b/systems/x86_64-linux/x1/default.nix @@ -49,6 +49,7 @@ with lib.metacfg; tipp10 gtypist logseq + claude-code ]; zramSwap.enable = true;