flake update

This commit is contained in:
2025-10-29 11:21:37 +01:00
parent 69dc3f3074
commit dc8d08342d
10 changed files with 162 additions and 134 deletions

View File

@@ -12,103 +12,134 @@ in {
config = mkIf cfg.enable {
home.packages = with pkgs; [
nur.repos.charmbracelet.crush
bruno
filezilla
insomnia
opencode
];
programs.zed-editor = {
enable = true;
userSettings = {
features = {
inline_prediction_provider = "zed";
edit_prediction_provider = "zed";
copilot = false;
};
telemetry = {
metrics = false;
};
lsp = {
rust_analyzer = {
binary = {path_lookup = true;};
};
};
languages = {
Nix = {
language_servers = ["nixd"];
formatter = {
external = {
command = "alejandra";
arguments = ["-q" "-"];
};
};
};
Python = {
language_servers = ["pyrefly"];
formatter = {
external = {
command = "black";
arguments = ["-"];
};
};
};
};
lsp = {
"pyrefly" = {
command = {
path = "pyrefly";
args = ["--lsp"];
env = {};
};
settings = {};
agent_servers = {
your_agent = {
command = "path_to_executable";
args = [];
env = {};
};
};
auto_update = false;
buffer_font_family = "FiraCode Nerd Font";
buffer_font_size = 16;
context_servers = {
"some-context-server" = {
command = {
path = "some-command";
args = ["arg-1" "arg-2"];
env = {};
};
browsermcp = {
source = "custom";
enabled = true;
command = "npx";
args = ["@browsermcp/mcp@latest"];
};
some-context-server = {
source = "custom";
command = "some-command";
args = ["arg-1" "arg-2"];
env = {};
settings = {};
};
};
assistant = {
version = "2";
default_model = {
provider = "anthropic";
model = "Claude 3.7 Sonnet";
};
features = {
copilot = false;
edit_prediction_provider = "zed";
inline_prediction_provider = "zed";
};
format_on_save = "on";
language_models = {
anthropic = {
version = "1";
api_url = "https://api.anthropic.com";
openai_compatible = {
AZ = {
api_url = "https://llm.az-gruppe.com";
available_models = [
{
name = "claude-4-5-sonnet";
display_name = null;
max_tokens = 200000;
max_output_tokens = 32000;
max_completion_tokens = 200000;
capabilities = {
tools = true;
images = false;
parallel_tool_calls = false;
prompt_cache_key = false;
};
}
];
};
};
openai = {
version = "1";
api_url = "https://api.openai.com/v1";
anthropic = {
api_url = "https://api.anthropic.com";
};
ollama = {
api_url = "http://localhost:11434";
};
openai = {
api_url = "https://api.openai.com/v1";
};
};
languages = {
Nix = {
formatter = {
external = {
arguments = ["-q" "-"];
command = "alejandra";
};
};
language_servers = ["nixd"];
};
Python = {
formatter = {
external = {
arguments = ["-"];
command = "black";
};
};
language_servers = ["pyrefly"];
};
};
load_direnv = "shell_hook";
lsp = {
pyrefly = {
command = {
args = ["--lsp"];
env = {};
path = "pyrefly";
};
settings = {};
};
rust_analyzer = {
binary = {
path_lookup = true;
};
};
};
show_edit_predictions = true;
ssh_connections = [
{
args = ["-i" "~/.ssh/m3tam3re"];
host = "152.53.85.162";
nickname = "m3-atlas";
args = ["-i" "~/.ssh/m3tam3re"];
}
];
auto_update = false;
format_on_save = "on";
vim_mode = true;
load_direnv = "shell_hook";
telemetry = {
metrics = false;
};
theme = "Dracula";
buffer_font_family = "FiraCode Nerd Font";
ui_font_size = 16;
buffer_font_size = 16;
show_edit_predictions = true;
vim_mode = true;
agent = {
default_model = {
model = "Claude 3.7 Sonnet";
provider = "anthropic";
};
};
};
};
};

View File

@@ -50,7 +50,6 @@ in {
"hypridle"
"wl-paste --type text --watch cliphist store" # Stores only text data
"wl-paste --type image --watch cliphist store" # Stores only image data "wl-paste -p -t text --watch clipman store -P --histpath=\"~/.local/share/clipman-primary.json\""
"xwaylandvideobridge"
];
env = [

View File

@@ -12,6 +12,7 @@ in {
config = mkIf cfg.enable {
home.packages = with pkgs; [
anytype
evince
libreoffice-fresh
xournalpp

View File

@@ -14,7 +14,6 @@ in {
grim
hyprcursor
hyprlock
kdePackages.xwaylandvideobridge
nwg-displays
nwg-look
qt6.qtwayland

View File

@@ -44,20 +44,23 @@
programs.git = {
enable = true;
difftastic.enable = true;
userName = "jannik.mueller";
userEmail = "jannik.mueller@azintec.com";
aliases = {
st = "status";
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
};
extraConfig = {
settings = {
user = {
name = "jannik.mueller";
email = "jannik.mueller@azintec.com";
};
core.excludesfile = "~/.gitignore_global";
init.defaultBranch = "master";
pull.rebase = false;
};
aliases = {
st = "status";
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
};
};
programs.difftastic.enable = true;
programs.jujutsu = {
enable = true;
settings = {
@@ -102,6 +105,7 @@
};
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"git.az-gruppe.com" = {
hostname = "152.53.186.119";

View File

@@ -44,20 +44,23 @@
programs.git = {
enable = true;
difftastic.enable = true;
userName = "sascha.koenig";
userEmail = "sascha.koenig@azintec.com";
aliases = {
st = "status";
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
};
extraConfig = {
settings = {
user = {
name = "sascha.koenig";
email = "sascha.koenig@azintec.com";
};
core.excludesfile = "~/.gitignore_global";
init.defaultBranch = "master";
pull.rebase = false;
};
aliases = {
st = "status";
logd = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
};
};
programs.difftastic.enable = true;
programs.jujutsu = {
enable = true;
settings = {
@@ -102,6 +105,7 @@
};
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"git.az-gruppe.com" = {
hostname = "152.53.186.119";