48 lines
1,004 B
Nix
48 lines
1,004 B
Nix
{ inputs, pkgs, ... }:
|
|
{
|
|
programs = {
|
|
nh.enable = true;
|
|
pay-respects.enable = true;
|
|
tealdeer = {
|
|
enable = true;
|
|
enableAutoUpdates = true;
|
|
settings.updates.auto_update = true;
|
|
};
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
zoxide.enable = true;
|
|
nix-index.enable = true;
|
|
nix-index-database.comma.enable = true;
|
|
};
|
|
persistDirs = [
|
|
".local/share/zoxide"
|
|
];
|
|
home = {
|
|
shellAliases = {
|
|
windows = "systemctl reboot --boot-loader-entry=auto-windows";
|
|
v = "nvim";
|
|
e = "edit";
|
|
cd = "z";
|
|
ai = "aichat -r %shell% -e";
|
|
};
|
|
packages = with pkgs; [
|
|
ripgrep
|
|
aichat
|
|
devenv
|
|
pantheon.rebuild
|
|
pantheon.deploy
|
|
pantheon.edit
|
|
pantheon.commit
|
|
pantheon.check
|
|
inputs.nixspect.packages."x86_64-linux".nixspect
|
|
];
|
|
};
|
|
|
|
xdg.configFile."aichat/config.yaml".text = ''
|
|
model: gemini:gemini-2.0-flash
|
|
clients:
|
|
- type: gemini
|
|
'';
|
|
}
|