From e40b65385887d258e6bb308ca81ed0503125c144 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Tue, 13 Jan 2026 09:28:01 +0200 Subject: [PATCH] claude-code-nix deletion --- flake.lock | 55 ----------------------------------------------- flake.nix | 13 ++--------- modules/shell.nix | 3 +-- 3 files changed, 3 insertions(+), 68 deletions(-) diff --git a/flake.lock b/flake.lock index b6fe524..dde78e3 100644 --- a/flake.lock +++ b/flake.lock @@ -1,26 +1,5 @@ { "nodes": { - "claude-code-nix": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1768271737, - "narHash": "sha256-IE9nsfNUPTksyLzb6ZHqiRPwOIkZ/zXlW0vyCUVhTzk=", - "owner": "sadjow", - "repo": "claude-code-nix", - "rev": "445c54bbb461bb99a1eb9e06248a55da75d9e58d", - "type": "github" - }, - "original": { - "owner": "sadjow", - "repo": "claude-code-nix", - "type": "github" - } - }, "crane": { "locked": { "lastModified": 1765145449, @@ -52,24 +31,6 @@ "type": "github" } }, - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "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" - } - }, "gitignore": { "inputs": { "nixpkgs": [ @@ -157,7 +118,6 @@ }, "root": { "inputs": { - "claude-code-nix": "claude-code-nix", "lanzaboote": "lanzaboote", "nixpkgs": "nixpkgs" } @@ -182,21 +142,6 @@ "repo": "rust-overlay", "type": "github" } - }, - "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 30b25ed..aca0c6e 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "NixOS configuration with latest Claude Code & Lanzaboot"; + description = "NixOS configuration with Lanzaboote"; inputs = { lanzaboote = { @@ -7,24 +7,15 @@ inputs.nixpkgs.follows = "nixpkgs"; }; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - claude-code-nix = { - url = "github:sadjow/claude-code-nix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; - outputs = { self, nixpkgs, claude-code-nix, ... }@inputs: { + outputs = { self, nixpkgs, ... }@inputs: { nixosConfigurations.meow = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ inputs.lanzaboote.nixosModules.lanzaboote ./configuration.nix - ({ pkgs, inputs, ... }: { - environment.systemPackages = [ - inputs.claude-code-nix.packages.${pkgs.stdenv.hostPlatform.system}.default - ]; - }) ]; }; }; diff --git a/modules/shell.nix b/modules/shell.nix index eb2ff97..770328b 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -16,7 +16,6 @@ shellAliases = { ls = "ls --color=auto"; grep = "grep --color=auto"; - # claude = "$HOME/.claude/local/claude"; }; # Prompt configuration @@ -81,6 +80,6 @@ # Shell aliases (available in all shells) environment.shellAliases = { - nrs = ''export GPG_TTY=$(tty) && sudo nixos-rebuild switch && cd /etc/nixos && git add -A && git commit -S -m "Update: $(date +%Y-%m-%d_%H:%M)" || true && git push origin main''; + nrs = ''export GPG_TTY=$(tty) && sudo nixos-rebuild switch --flake path:/etc/nixos && cd /etc/nixos && git add -A && git commit -S -m "Update: $(date +%Y-%m-%d_%H:%M)" || true && git push origin main''; }; }