This commit includes significant updates to the Nix configuration including: - Added common NixOS module with system packages - Updated home-manager configurations for various systems - Enhanced terminal programs including Claude Code integration - Updated LLM server configurations with new models - Improved btop configuration with custom package - Added opencode support with permission settings - Updated tmux and nvim configurations The changes introduce new features, update existing configurations, and improve the overall system setup.
27 lines
548 B
Nix
Executable File
27 lines
548 B
Nix
Executable File
{ lib
|
|
, pkgs
|
|
, config
|
|
, namespace
|
|
, ...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf;
|
|
cfg = config.${namespace}.programs.terminal.btop;
|
|
in
|
|
{
|
|
options.${namespace}.programs.terminal.btop = {
|
|
enable = lib.mkEnableOption "btop";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.btop = {
|
|
enable = true;
|
|
package = pkgs.btop-cuda;
|
|
};
|
|
|
|
home.file.".config/btop/btop.conf".text = builtins.readFile ./config/btop.conf;
|
|
home.file.".config/btop/themes/catppuccin_mocha.theme".text =
|
|
builtins.readFile ./config/catppuccin_mocha.theme;
|
|
};
|
|
}
|