add hm host ee. refactor other hm hosts
This commit is contained in:
parent
bf563cc0cc
commit
ad98720b10
11 changed files with 93 additions and 37 deletions
|
|
@ -115,6 +115,7 @@
|
|||
|
||||
homeConfigurations = {
|
||||
"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@pc" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/pc ];
|
||||
"sid@rv2" = mkHomeConfiguration "x86_64-linux" [ ./users/sid/home/hosts/rv2 ];
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
./git.nix
|
||||
./home.nix
|
||||
./nixvim.nix
|
||||
./secrets
|
||||
|
||||
inputs.synix.homeModules.common
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,8 @@
|
|||
|
||||
shellAliases = {
|
||||
gpr = "git remote prune origin";
|
||||
gt = "git tag";
|
||||
search-store = "find /nix/store -maxdepth 1 -type d | rg -i";
|
||||
};
|
||||
|
||||
stateVersion = "24.11";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,4 +45,6 @@
|
|||
};
|
||||
|
||||
services.spotifyd.settings.device_name = "16ach6";
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
|
|
|
|||
40
users/sid/home/hosts/ee/default.nix
Normal file
40
users/sid/home/hosts/ee/default.nix
Normal 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";
|
||||
}
|
||||
|
|
@ -37,4 +37,6 @@
|
|||
};
|
||||
|
||||
services.spotifyd.settings.device_name = "nuc8";
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@
|
|||
|
||||
programs.waybar.settings.mainBar.output = "DP-3";
|
||||
|
||||
home.stateVersion = lib.mkForce "25.11";
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,4 +31,6 @@
|
|||
mountPoint = "/home/sid";
|
||||
};
|
||||
};
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
./gpg.nix
|
||||
./hyprland.nix
|
||||
./newsboat.nix
|
||||
./nixvim.nix
|
||||
./obs-studio.nix
|
||||
./opencode.nix
|
||||
./packages.nix
|
||||
|
|
@ -30,6 +31,8 @@
|
|||
./xdg.nix
|
||||
./yazi.nix
|
||||
|
||||
../secrets
|
||||
|
||||
inputs.synix.homeModules.virtualisation
|
||||
];
|
||||
}
|
||||
|
|
|
|||
40
users/sid/home/hyprland/nixvim.nix
Normal file
40
users/sid/home/hyprland/nixvim.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, config, ... }:
|
||||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -10,38 +10,6 @@
|
|||
plugins = {
|
||||
csvview.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 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue