bluetooth changes, update flakes

This commit is contained in:
root 2026-05-04 08:37:03 -03:00
parent 664eb70e8c
commit 2649174093
No known key found for this signature in database
11 changed files with 92 additions and 896 deletions

View file

@ -166,23 +166,16 @@ let
'';
xdg.configFile."opencode/opencode.json".text = builtins.toJSON {
"$schema" = "https://opencode.ai/config.json";
plugin = [ "opencode-antigravity-auth@latest" ];
# {
# "provider": "ollama",
# "ollama": {
# "base_url": "http://localhost:11434",
# "model": "llama3.2"
# }
# }
provider = {
ollama = {
model = "qwen3.6";
base_url = "http://localhost:11434";
};
};
# provider = {
# ollama = {
# model = "qwen3.6";
# base_url = "http://localhost:11434";
# };
# };
};
xdg.userDirs = {
enable = true;
setSessionVariables = false;
extraConfig = {
XDG_CACHE_HOME = "$HOME/.cache";
};

View file

View file

@ -29,6 +29,8 @@ in
viAlias = true;
vimAlias = false;
vimdiffAlias = true;
withPython3 = false;
withRuby = false;
plugins = with pkgs.vimPlugins; [
{
plugin = auto-session;
@ -438,12 +440,10 @@ in
}
vim-fugitive
];
extraConfig = ''
colorscheme ${cfg.colorscheme}
'';
initLua = ''
${builtins.readFile ./settings.lua}
${builtins.replaceStrings [ "@HOSTNAME@" ] [ cfg.hostname ] (builtins.readFile ./plugins.lua)}
vim.cmd.colorscheme("${cfg.colorscheme}")
require("custom")
'';
};

View file

@ -14,6 +14,11 @@
home.username = "user";
home.homeDirectory = HOME;
home.stateVersion = "25.11";
home.sessionVariables = {
QMK_HOME = "${HOME}/var/qmk";
GOMODCACHE = "${HOME}/.cache/go_mod";
GOPATH = "${HOME}/.local/share/go";
};
imports = [
./nvim
@ -405,6 +410,7 @@
programs.firefox = {
enable = true;
package = pkgs.firefox;
configPath = ".mozilla/firefox";
nativeMessagingHosts = [
pkgs.browserpass
pkgs.tridactyl-native