add hm host ee. refactor other hm hosts

This commit is contained in:
sid 2026-05-21 12:27:07 +02:00
parent bf563cc0cc
commit ad98720b10
11 changed files with 93 additions and 37 deletions

View file

@ -115,6 +115,7 @@
homeConfigurations = { homeConfigurations = {
"sid@16ach6" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/16ach6 ]; "sid@16ach6" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/16ach6 ];
"sid@ee" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/ee ];
"sid@nuc8" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/nuc8 ]; "sid@nuc8" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/nuc8 ];
"sid@pc" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/pc ]; "sid@pc" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/pc ];
"sid@rv2" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/rv2 ]; "sid@rv2" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/rv2 ];

View file

@ -9,7 +9,6 @@
./git.nix ./git.nix
./home.nix ./home.nix
./nixvim.nix ./nixvim.nix
./secrets
inputs.synix.homeModules.common inputs.synix.homeModules.common

View file

@ -4,9 +4,8 @@
shellAliases = { shellAliases = {
gpr = "git remote prune origin"; gpr = "git remote prune origin";
gt = "git tag";
search-store = "find /nix/store -maxdepth 1 -type d | rg -i"; search-store = "find /nix/store -maxdepth 1 -type d | rg -i";
}; };
stateVersion = "24.11";
}; };
} }

View file

@ -45,4 +45,6 @@
}; };
services.spotifyd.settings.device_name = "16ach6"; services.spotifyd.settings.device_name = "16ach6";
home.stateVersion = "24.11";
} }

View file

@ -0,0 +1,40 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) getExe;
in
{
programs.opencode = {
enable = true;
enableMcpIntegration = config.programs.mcp.enable;
settings = {
model = "openrouter/moonshotai/kimi-k2.6";
autoshare = false;
autoupdate = false;
};
};
programs.mcp = {
enable = true;
servers = {
fetcher = {
command = getExe pkgs.synix.fetcher-mcp;
};
nixos = {
command = getExe pkgs.nix;
args = [
"run"
"github:utensils/mcp-nixos"
"--"
];
};
};
};
home.stateVersion = "25.11";
}

View file

@ -37,4 +37,6 @@
}; };
services.spotifyd.settings.device_name = "nuc8"; services.spotifyd.settings.device_name = "nuc8";
home.stateVersion = "24.11";
} }

View file

@ -10,5 +10,5 @@
programs.waybar.settings.mainBar.output = "DP-3"; programs.waybar.settings.mainBar.output = "DP-3";
home.stateVersion = lib.mkForce "25.11"; home.stateVersion = "25.11";
} }

View file

@ -31,4 +31,6 @@
mountPoint = "/home/sid"; mountPoint = "/home/sid";
}; };
}; };
home.stateVersion = "24.11";
} }

View file

@ -14,6 +14,7 @@
./gpg.nix ./gpg.nix
./hyprland.nix ./hyprland.nix
./newsboat.nix ./newsboat.nix
./nixvim.nix
./obs-studio.nix ./obs-studio.nix
./opencode.nix ./opencode.nix
./packages.nix ./packages.nix
@ -30,6 +31,8 @@
./xdg.nix ./xdg.nix
./yazi.nix ./yazi.nix
../secrets
inputs.synix.homeModules.virtualisation inputs.synix.homeModules.virtualisation
]; ];
} }

View file

@ -0,0 +1,40 @@
{ config, ... }:
{
programs.nixvim = {
plugins = {
avante = {
enable = true;
settings = {
auto_suggestions_provider = null;
diff = {
autojump = true;
debug = false;
list_opener = "copen";
};
highlights = {
diff = {
current = "DiffText";
incoming = "DiffAdd";
};
};
hints = {
enabled = true;
};
selector = {
provider = "telescope";
};
provider = "openrouter";
providers = {
openrouter = {
__inherited_from = "openai";
endpoint = "https://openrouter.ai/api/v1";
api_key_name = "cmd:cat ${config.sops.secrets.openrouter-api-key.path}";
model = "google/gemini-3-flash-preview";
};
};
};
};
};
};
}

View file

@ -1,4 +1,4 @@
{ inputs, config, ... }: { inputs, ... }:
{ {
imports = [ imports = [
@ -10,38 +10,6 @@
plugins = { plugins = {
csvview.enable = true; csvview.enable = true;
direnv.enable = true; direnv.enable = true;
avante = {
enable = true;
settings = {
auto_suggestions_provider = null;
diff = {
autojump = true;
debug = false;
list_opener = "copen";
};
highlights = {
diff = {
current = "DiffText";
incoming = "DiffAdd";
};
};
hints = {
enabled = true;
};
selector = {
provider = "telescope";
};
provider = "openrouter";
providers = {
openrouter = {
__inherited_from = "openai";
endpoint = "https://openrouter.ai/api/v1";
api_key_name = "cmd:cat ${config.sops.secrets.openrouter-api-key.path}";
model = "google/gemini-3-flash-preview";
};
};
};
};
render-markdown = { render-markdown = {
enable = true; enable = true;
settings = { settings = {