mirror of
https://github.com/nmasur/dotfiles
synced 2026-07-26 05:38:35 +00:00
add llm-development profile
This commit is contained in:
@@ -27,6 +27,7 @@ rec {
|
||||
common.enable = true;
|
||||
darwin-base.enable = true;
|
||||
darwin-gaming.enable = true;
|
||||
llm-development.enable = true;
|
||||
power-user.enable = true;
|
||||
work.enable = true;
|
||||
experimental.enable = true;
|
||||
|
||||
@@ -28,6 +28,7 @@ rec {
|
||||
nmasur.profiles = {
|
||||
common.enable = true;
|
||||
linux-base.enable = true;
|
||||
llm-development.enable = true;
|
||||
power-user.enable = true;
|
||||
};
|
||||
nmasur.presets.programs.helix.enable = true;
|
||||
|
||||
@@ -26,6 +26,7 @@ rec {
|
||||
nmasur.profiles = {
|
||||
common.enable = true;
|
||||
linux-base.enable = true;
|
||||
llm-development.enable = true;
|
||||
power-user.enable = true;
|
||||
};
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
@@ -30,6 +30,7 @@ rec {
|
||||
linux-base.enable = true;
|
||||
linux-gui.enable = true;
|
||||
linux-gaming.enable = true;
|
||||
llm-development.enable = true;
|
||||
power-user.enable = true;
|
||||
developer.enable = true;
|
||||
experimental.enable = true;
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.nmasur.profiles.llm-development;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
options.nmasur.profiles.llm-development.enable = lib.mkEnableOption "LLM coding tools";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
home.packages = [
|
||||
|
||||
pkgs.pi-coding-agent # AI LLM Agent
|
||||
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
@@ -12,12 +12,9 @@ in
|
||||
options.nmasur.presets.programs._1password.enable = lib.mkEnableOption "1Password password manager";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
allowUnfreePackages = [
|
||||
"1password"
|
||||
"_1password-gui"
|
||||
"1password-cli"
|
||||
];
|
||||
|
||||
# Unfree packages are already permitted via the shared nixpkgs instance
|
||||
# created in lib/default.nix (config.allowUnfree = true). Setting
|
||||
# nixpkgs.config here would conflict with nixpkgs.pkgs being set externally.
|
||||
programs._1password.enable = true;
|
||||
programs._1password-gui = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user