Added ai module with claude and herdr
This commit is contained in:
1 parent
8e31ffeb14
commit
7c58561dc5
5 files changed
+89
-10
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.ai.claude;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.ai.claude = with lib.types; {
|
||||
enable = lib.mkEnableOption "claude";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
claude-code
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, inputs, system, ... }:
|
||||
|
||||
let
|
||||
cfg = config.samfelag.modules.ai.herdr;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.ai.herdr = with lib.types; {
|
||||
enable = lib.mkEnableOption "herdr";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [
|
||||
inputs.herdr.packages.${system}.default
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user