New emacs config and claude

This commit is contained in:
marc committed 2026-03-22 18:54:56 +01:00
1 parent 2e960ac460
commit c64186fad8
5 files changed
+36 -4

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
let
cfg = config.samfelag.modules.dev.claude;
in
{
options.samfelag.modules.dev.claude = with lib.types; {
enable = lib.mkEnableOption "claude";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
claude
];
};
}
+5
View File
@@ -7,6 +7,11 @@ let
hyprCfg = config.samfelag.modules.desktop.wm.hyprland;
emacsPackages = epkgs: [
epkgs.vterm
(epkgs.treesit-grammars.with-grammars (grammars: [
grammars.tree-sitter-typescript
grammars.tree-sitter-tsx
grammars.tree-sitter-python
]))
];
emacsWithPackages = with pkgs; ((emacsPackagesFor emacs-unstable).emacsWithPackages emacsPackages);
in {