diff --git a/flake.lock b/flake.lock index f7a7fb0..e84574e 100644 --- a/flake.lock +++ b/flake.lock @@ -122,6 +122,42 @@ "type": "github" } }, + "claude-desktop": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1784016262, + "narHash": "sha256-ADTLbHz4pCj5XEi0phjiN5vOLPiWH+P29rXvWXD4WRI=", + "owner": "patrickjaja", + "repo": "claude-desktop-bin", + "rev": "9364a60fb16bafa47bd9ca0e1380d33d669b8019", + "type": "github" + }, + "original": { + "owner": "patrickjaja", + "repo": "claude-desktop-bin", + "type": "github" + } + }, + "crane": { + "locked": { + "lastModified": 1774313767, + "narHash": "sha256-hy0XTQND6avzGEUFrJtYBBpFa/POiiaGBr2vpU6Y9tY=", + "owner": "ipetkov", + "repo": "crane", + "rev": "3d9df76e29656c679c744968b17fbaf28f0e923d", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, "darwin": { "inputs": { "nixpkgs": [ @@ -223,6 +259,28 @@ "type": "github" } }, + "fenix": { + "inputs": { + "nixpkgs": [ + "flox", + "nixpkgs" + ], + "rust-analyzer-src": "rust-analyzer-src" + }, + "locked": { + "lastModified": 1780999471, + "narHash": "sha256-rY4yNlSzDY3OoYBdgjwlpVKWY/oUeOb65709i/tJbns=", + "owner": "nix-community", + "repo": "fenix", + "rev": "db976d430cbb6b0d6b300b4e22cbb28462841af2", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "fenix", + "type": "github" + } + }, "firefox-gnome-theme": { "flake": false, "locked": { @@ -272,6 +330,22 @@ } }, "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1761588595, + "narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { "flake": false, "locked": { "lastModified": 1767039857, @@ -350,6 +424,46 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flox": { + "inputs": { + "crane": "crane", + "fenix": "fenix", + "nixpkgs": "nixpkgs_4", + "pre-commit-hooks": "pre-commit-hooks" + }, + "locked": { + "lastModified": 1783704517, + "narHash": "sha256-CKe1Vm0Q+oTO06bnHc9GozOwXJXQy9wXV/uJYPH8qZU=", + "owner": "flox", + "repo": "flox", + "rev": "66c183068bf3448caccf0a0d29df5ddf76d37f30", + "type": "github" + }, + "original": { + "owner": "flox", + "ref": "latest", + "repo": "flox", + "type": "github" + } + }, "fromYaml": { "flake": false, "locked": { @@ -368,7 +482,7 @@ }, "git-hooks": { "inputs": { - "flake-compat": "flake-compat_3", + "flake-compat": "flake-compat_4", "nixpkgs": [ "nixpkgs" ] @@ -413,6 +527,28 @@ "url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941" } }, + "gitignore": { + "inputs": { + "nixpkgs": [ + "flox", + "pre-commit-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, "gnome-shell": { "flake": false, "locked": { @@ -433,7 +569,7 @@ "hermes-agent": { "inputs": { "flake-parts": "flake-parts_2", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_5", "npm-lockfile-fix": "npm-lockfile-fix", "pyproject-build-systems": "pyproject-build-systems", "pyproject-nix": "pyproject-nix", @@ -594,8 +730,8 @@ "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", "hyprwire": "hyprwire", - "nixpkgs": "nixpkgs_5", - "systems": "systems_2" + "nixpkgs": "nixpkgs_6", + "systems": "systems_3" }, "locked": { "lastModified": 1783103145, @@ -811,7 +947,7 @@ }, "nixos-hardware": { "inputs": { - "nixpkgs": "nixpkgs_6" + "nixpkgs": "nixpkgs_7" }, "locked": { "lastModified": 1783582157, @@ -919,6 +1055,22 @@ } }, "nixpkgs_4": { + "locked": { + "lastModified": 1774386573, + "narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=", + "owner": "flox", + "repo": "nixpkgs", + "rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9", + "type": "github" + }, + "original": { + "owner": "flox", + "ref": "stable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { "locked": { "lastModified": 1775036866, "narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=", @@ -934,7 +1086,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { "lastModified": 1772433332, "narHash": "sha256-izhTDFKsg6KeVBxJS9EblGeQ8y+O8eCa6RcW874vxEc=", @@ -950,7 +1102,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_7": { "locked": { "lastModified": 1767892417, "narHash": "sha256-8bW3q88CEg2u4hSP66Vf4lpbLonHz7hqDNBMcCY7E9U=", @@ -963,7 +1115,7 @@ "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz" } }, - "nixpkgs_7": { + "nixpkgs_8": { "locked": { "lastModified": 1783389287, "narHash": "sha256-0xIy4dVLqq47rA+mRy0hXDfjhQd4E5PoIns/RmB7nR4=", @@ -1043,6 +1195,29 @@ "type": "github" } }, + "pre-commit-hooks": { + "inputs": { + "flake-compat": "flake-compat_3", + "gitignore": "gitignore", + "nixpkgs": [ + "flox", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1765911976, + "narHash": "sha256-t3T/xm8zstHRLx+pIHxVpQTiySbKqcQbK+r+01XVKc0=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "b68b780b69702a090c8bb1b973bab13756cc7a27", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, "pyproject-build-systems": { "inputs": { "nixpkgs": [ @@ -1096,8 +1271,10 @@ "root": { "inputs": { "agenix": "agenix", + "claude-desktop": "claude-desktop", "determinate": "determinate", "dms": "dms", + "flox": "flox", "git-hooks": "git-hooks", "hermes-agent": "hermes-agent", "home-manager": "home-manager_2", @@ -1106,11 +1283,28 @@ "nix-flatpak": "nix-flatpak", "nix-index-database": "nix-index-database", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_8", "nixpkgs-unstable": "nixpkgs-unstable", "noctalia": "noctalia", "stylix": "stylix", - "systems": "systems_4" + "systems": "systems_5" + } + }, + "rust-analyzer-src": { + "flake": false, + "locked": { + "lastModified": 1780924205, + "narHash": "sha256-5s6nPSNU1Mo/Qy90XxCTNj6/rB70zgX8VqleTdLoESA=", + "owner": "rust-lang", + "repo": "rust-analyzer", + "rev": "4fde9dd9822df453dc6f20149b8e375efbbe66c0", + "type": "github" + }, + "original": { + "owner": "rust-lang", + "ref": "nightly", + "repo": "rust-analyzer", + "type": "github" } }, "stylix": { @@ -1126,7 +1320,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems_3", + "systems": "systems_4", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", "tinted-tmux": "tinted-tmux", @@ -1163,6 +1357,21 @@ } }, "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_3": { "locked": { "lastModified": 1689347949, "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", @@ -1177,7 +1386,7 @@ "type": "github" } }, - "systems_3": { + "systems_4": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1192,7 +1401,7 @@ "type": "github" } }, - "systems_4": { + "systems_5": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", diff --git a/flake.nix b/flake.nix index 0304466..031a8bf 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,7 @@ determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0"; nixpkgs-unstable.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; + flox.url = "github:flox/flox/latest"; # nix-index database (for nix-index and comma) nix-index-database = { url = "github:nix-community/nix-index-database"; @@ -50,11 +51,16 @@ hyprlauncher.url = "github:hyprwm/hyprlauncher"; # Secrets management agenix.url = "github:ryantm/agenix"; + # Claude Desktop + claude-desktop = { + url = "github:patrickjaja/claude-desktop-bin"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self , nixpkgs-unstable + , flox , determinate , nixos-hardware , nixpkgs @@ -70,6 +76,7 @@ , nix-index-database , agenix , hermes-agent + , claude-desktop }: let # Libs @@ -101,6 +108,8 @@ noctalia nix-index-database hermes-agent + claude-desktop + flox ; }; } diff --git a/hosts/fwbook.nix b/hosts/fwbook.nix index f8b219d..8d2f091 100644 --- a/hosts/fwbook.nix +++ b/hosts/fwbook.nix @@ -5,6 +5,8 @@ , unstablePkgs , noctalia , hermes-agent +, claude-desktop +, flox , ... }: let @@ -203,6 +205,7 @@ in orca-slicer devcontainer gpu-screen-recorder + flox.packages.${system}.default # Run macos apps darling-dmg @@ -232,6 +235,8 @@ in pi-coding-agent hermes-agent.packages.${pkgs.stdenv.hostPlatform.system}.desktop hermes-agent.packages.${pkgs.stdenv.hostPlatform.system}.default + claude-desktop.packages.x86_64-linux.default + claude-code # My Own niri-touchscreen-gestures