From 04b08dee44771d486b15656d82941484a64aef72 Mon Sep 17 00:00:00 2001 From: Joe Frikker Date: Wed, 19 Aug 2026 22:02:15 -0400 Subject: [PATCH] Fixing laptop --- flake.lock | 80 ++++++++++++++++++++++-------------------------------- flake.nix | 3 +- home.org | 3 +- 3 files changed, 36 insertions(+), 50 deletions(-) diff --git a/flake.lock b/flake.lock index 665943e..b46451a 100644 --- a/flake.lock +++ b/flake.lock @@ -1,20 +1,23 @@ { "nodes": { - "flake-parts": { + "claude-code": { "inputs": { - "nixpkgs-lib": "nixpkgs-lib" + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems" }, "locked": { - "lastModified": 1765835352, - "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "a34fae9c08a15ad73f295041fec82323541400a9", + "lastModified": 1787189302, + "narHash": "sha256-cUM75Rob89qTxJvqVRF8GUewOriqQtLiyiy5xfd1fMM=", + "owner": "sadjow", + "repo": "claude-code-nix", + "rev": "8fb8cbab6345583e0b68ca7dbbbad08a0a348145", "type": "github" }, "original": { - "owner": "hercules-ci", - "repo": "flake-parts", + "owner": "sadjow", + "repo": "claude-code-nix", "type": "github" } }, @@ -39,25 +42,6 @@ "type": "github" } }, - "kube": { - "inputs": { - "flake-parts": "flake-parts", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1767247330, - "narHash": "sha256-CxXwzmvAOO07719jzE0Zw14C9r3fQcXfPllLtt5cIzo=", - "rev": "4a4d79a290c92de630e503f395fc8fd709904c1b", - "type": "tarball", - "url": "https://gitea.home-frikker.dedyn.io/api/v1/repos/jfrikker/kube/archive/4a4d79a290c92de630e503f395fc8fd709904c1b.tar.gz" - }, - "original": { - "type": "tarball", - "url": "https://gitea.home-frikker.dedyn.io/jfrikker/kube/archive/1.0.1.tar.gz" - } - }, "nix-index-database": { "inputs": { "nixpkgs": [ @@ -80,42 +64,42 @@ }, "nixpkgs": { "locked": { - "lastModified": 1779560665, - "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", + "lastModified": 1787101114, + "narHash": "sha256-gwrPcFf/rDjHPaVflbDZ040ZDmBTRj/7+s8ZmE2SaIM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", + "rev": "b18a4b905f8d028dc4476412e6d6891728695379", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-unstable", + "ref": "nixos-26.05", "repo": "nixpkgs", "type": "github" } }, - "nixpkgs-lib": { - "locked": { - "lastModified": 1765674936, - "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, "root": { "inputs": { + "claude-code": "claude-code", "home-manager": "home-manager", - "kube": "kube", "nix-index-database": "nix-index-database", "nixpkgs": "nixpkgs" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 7f89b65..2e8f001 100644 --- a/flake.nix +++ b/flake.nix @@ -150,7 +150,8 @@ programs.emacs.package = pkgs.emacs-pgtk; }]; - extraSpecialArgs = { kube = kube.packages.x86_64-linux.default; }; + # extraSpecialArgs = { kube = kube.packages.x86_64-linux.default; }; + extraSpecialArgs = { claude-code = claude-code.packages.x86_64-linux.default; }; }; packages.x86_64-linux.default = modules-for-system nixpkgs.legacyPackages.x86_64-linux; }; diff --git a/home.org b/home.org index 618fda0..3da09b7 100644 --- a/home.org +++ b/home.org @@ -726,8 +726,9 @@ Now we'll set up some keybindings: #+END_SRC ** Ghostty +Disabled until I can get it working on both linux and mac (if I want to). -#+BEGIN_SRC nix :tangle target/desktop/ghostty.nix +#+BEGIN_SRC nix {pkgs, ...}: { programs.ghostty = { enable = true;