From c2c473f38af6a018e1c01a596d78de6b1a04ca77 Mon Sep 17 00:00:00 2001 From: Jan Kremer Date: Thu, 19 Mar 2026 10:29:21 +0100 Subject: [PATCH] Add claude code --- hosts/galanthus/configuration.nix | 8 ++++++++ modules/home-manager/default.nix | 8 ++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/hosts/galanthus/configuration.nix b/hosts/galanthus/configuration.nix index 3af740f..98690a0 100644 --- a/hosts/galanthus/configuration.nix +++ b/hosts/galanthus/configuration.nix @@ -2,6 +2,7 @@ inputs, pkgs, config, + lib, ... }: { @@ -91,8 +92,15 @@ spotdl ffmpeg helix + claude-code ]; + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "claude-code" + ]; + time.timeZone = "Europe/Berlin"; i18n.defaultLocale = "de_DE.UTF-8"; diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 0cc295e..7cb78eb 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -62,8 +62,6 @@ }; }; - pandoc.enable = true; - ssh = { enable = true; enableDefaultConfig = false; @@ -88,6 +86,12 @@ ''; }; + claude-code = { + enable = true; + }; + + pandoc.enable = true; + yt-dlp = { enable = true; settings = {