New emacs config and claude
This commit is contained in:
15
modules/dev/claude.nix
Normal file
15
modules/dev/claude.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user