feat: update stuff

This commit is contained in:
uttarayan21
2025-06-18 10:37:41 +05:30
parent a65cd7a6d1
commit 5a30201864
7 changed files with 188 additions and 177 deletions

View File

@@ -202,7 +202,6 @@
# Screenshot
# "$mainMod,Print, exec, grim"
# "$mainModShift,Print, exec, grim -g "$(slurp)""
"$mainModShift,s, exec, ${pkgs.watershot}/bin/watershot"
# Move focus with mainMod + arrow keys
"$mainMod, left, movefocus, l"

View File

@@ -1,16 +1,11 @@
{
pkgs,
lib,
device,
config,
...
}: {
{config, ...}: {
sops = {
secrets."llama/api_key" = {};
secrets."openai/api_key" = {};
secrets."openrouter/api_key" = {};
secrets."gemini/api_key" = {};
};
imports = [../../modules/aichat.nix];
programs.aichat = {
enable = true;
enableFishIntegration = true;
@@ -50,6 +45,7 @@
name = "gemini";
api_base = "https://generativelanguage.googleapis.com/v1beta";
api_key_cmd = "cat ${config.sops.secrets."gemini/api_key".path}";
# api_key_file = "${config.sops.secrets."gemini/api_key".path}";
models = [
{
name = "gemini-2.5-flash-preview-04-17";

View File

@@ -5,7 +5,7 @@
}: {
imports = [
../../modules
./aichat.nix
# ./aichat.nix
./atuin.nix
./bat.nix
./carapace.nix