Compare commits
1 Commits
main
...
85721481b4
| Author | SHA1 | Date | |
|---|---|---|---|
| 85721481b4 |
@@ -49,30 +49,5 @@
|
|||||||
# Enable containerd for Kubernetes
|
# Enable containerd for Kubernetes
|
||||||
virtualisation.containerd.enable = true;
|
virtualisation.containerd.enable = true;
|
||||||
|
|
||||||
# Enable kubelet
|
|
||||||
#services.kubelet = {
|
|
||||||
# enable = true;
|
|
||||||
# extraFlags = {
|
|
||||||
# "pod-infra-container-image" = "registry.k8s.io/pause:3.9";
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
|
|
||||||
## Enable kubeadm for cluster initialization
|
|
||||||
#environment.etc."kubeadm.yaml".text = ''
|
|
||||||
# apiVersion: kubeadm.k8s.io/v1beta3
|
|
||||||
# kind: InitConfiguration
|
|
||||||
# localAPIEndpoint:
|
|
||||||
# advertiseAddress: 127.0.0.1
|
|
||||||
# bindPort: 6443
|
|
||||||
# ---
|
|
||||||
# apiVersion: kubeadm.k8s.io/v1beta3
|
|
||||||
# kind: ClusterConfiguration
|
|
||||||
# clusterName: ${config.services.kubernetes.clusterName}
|
|
||||||
# controlPlaneEndpoint: ${config.services.kubernetes.controlPlaneEndpoint}
|
|
||||||
# networking:
|
|
||||||
# serviceSubnet: 10.96.0.0/12
|
|
||||||
# podSubnet: 10.244.0.0/16
|
|
||||||
# dnsDomain: cluster.local
|
|
||||||
#'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,16 @@
|
|||||||
fd
|
fd
|
||||||
file
|
file
|
||||||
firefox
|
firefox
|
||||||
|
|
||||||
|
# Cinnamon desktop utilities
|
||||||
|
cinnamon
|
||||||
|
cinnamon-control-center
|
||||||
|
nemo
|
||||||
|
nemo-terminal
|
||||||
|
eom
|
||||||
|
gnome-terminal
|
||||||
|
xdg-utils
|
||||||
|
xdg-user-dirs
|
||||||
# gestures replacement
|
# gestures replacement
|
||||||
git
|
git
|
||||||
glances
|
glances
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
./minio.nix
|
./minio.nix
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./ollama.nix
|
|
||||||
#./plex
|
#./plex
|
||||||
./postgresql.nix
|
./postgresql.nix
|
||||||
./samba.nix
|
./samba.nix
|
||||||
@@ -26,10 +25,8 @@
|
|||||||
|
|
||||||
programs.git.lfs.enable = false;
|
programs.git.lfs.enable = false;
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
packageOverrides = pkgs: {
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
||||||
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
@@ -100,13 +97,6 @@
|
|||||||
smartd.enable = true;
|
smartd.enable = true;
|
||||||
calibre-server.enable = false;
|
calibre-server.enable = false;
|
||||||
|
|
||||||
# Kubernetes example configuration
|
|
||||||
# To enable Kubernetes, uncomment the following:
|
|
||||||
# kubernetes = {
|
|
||||||
# enable = true;
|
|
||||||
# clusterName = "palatine-hill-cluster";
|
|
||||||
# controlPlaneEndpoint = "localhost:6443";
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.gc.options = "--delete-older-than 150d";
|
nix.gc.options = "--delete-older-than 150d";
|
||||||
|
|||||||
@@ -15,16 +15,11 @@ in
|
|||||||
"deepseek-r1:1.5b"
|
"deepseek-r1:1.5b"
|
||||||
"deepseek-r1:32b"
|
"deepseek-r1:32b"
|
||||||
"deepseek-r1:70b"
|
"deepseek-r1:70b"
|
||||||
"qwen3"
|
#"qwen3"
|
||||||
#"qwen3-coder-next"
|
#"qwen3.5:latest"
|
||||||
"qwen3-coder-next"
|
"qwen3-coder-next"
|
||||||
"lennyerik/zeta"
|
"lennyerik/zeta"
|
||||||
"qwen2.5-coder:14b"
|
|
||||||
"qwen2.5-coder:32b"
|
|
||||||
"nomic-embed-text:latest"
|
"nomic-embed-text:latest"
|
||||||
"llama4:scout"
|
|
||||||
"mistral:7b"
|
|
||||||
"minimax-m2.7:cloud"
|
|
||||||
"lfm2:24b"
|
"lfm2:24b"
|
||||||
"glm-4.7-flash"
|
"glm-4.7-flash"
|
||||||
];
|
];
|
||||||
@@ -33,9 +28,9 @@ in
|
|||||||
FLASH_ATTENTION = "1";
|
FLASH_ATTENTION = "1";
|
||||||
OLLAMA_KV_CACHE_TYPE = "q8_0";
|
OLLAMA_KV_CACHE_TYPE = "q8_0";
|
||||||
# Ollama memory configuration
|
# Ollama memory configuration
|
||||||
OLLAMA_MAX_LOADED_MODELS = "3";
|
OLLAMA_MAX_LOADED_MODELS = "2";
|
||||||
OLLAMA_MAX_QUEUE = "512";
|
OLLAMA_MAX_QUEUE = "512";
|
||||||
OLLAMA_NUM_PARALLEL = "3";
|
OLLAMA_NUM_PARALLEL = "1";
|
||||||
|
|
||||||
# ROCm memory optimization
|
# ROCm memory optimization
|
||||||
#HIP_VISIBLE_DEVICES = "0";
|
#HIP_VISIBLE_DEVICES = "0";
|
||||||
|
|||||||
@@ -63,8 +63,27 @@
|
|||||||
"latex"
|
"latex"
|
||||||
"terraform"
|
"terraform"
|
||||||
"log"
|
"log"
|
||||||
|
"context7-mcp-server"
|
||||||
|
"github-mcp-server"
|
||||||
];
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
|
context_servers = {
|
||||||
|
nixos = {
|
||||||
|
command = "nix";
|
||||||
|
args = [
|
||||||
|
"run"
|
||||||
|
"github:utensils/mcp-nixos"
|
||||||
|
"--"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
language_models = {
|
||||||
|
ollama = {
|
||||||
|
api_url = "http://192.168.76.2:11434";
|
||||||
|
context_window = 128000;
|
||||||
|
keep_alive = "15m";
|
||||||
|
};
|
||||||
|
};
|
||||||
colorize_brackets = true;
|
colorize_brackets = true;
|
||||||
hard_tabs = false;
|
hard_tabs = false;
|
||||||
vim_mode = true;
|
vim_mode = true;
|
||||||
@@ -77,7 +96,7 @@
|
|||||||
agent = {
|
agent = {
|
||||||
default_model = {
|
default_model = {
|
||||||
provider = "ollama";
|
provider = "ollama";
|
||||||
model = "qwen2.5-coder:latest";
|
model = "lfm2:24b";
|
||||||
};
|
};
|
||||||
favorite_models = [ ];
|
favorite_models = [ ];
|
||||||
model_parameters = [ ];
|
model_parameters = [ ];
|
||||||
@@ -89,13 +108,16 @@
|
|||||||
journal = {
|
journal = {
|
||||||
hour_format = "hour24";
|
hour_format = "hour24";
|
||||||
};
|
};
|
||||||
edit_preditions = {
|
edit_predictions = {
|
||||||
provider = "open_ai_compatible_api";
|
provider = "ollama";
|
||||||
open_ai_compatible_api = {
|
ollama = {
|
||||||
api_url = "http://localhost:11434/v1/completions";
|
#api_url = "http://192.168.76.2:11434/v1/completions";
|
||||||
model = "zeta:latest";
|
api_url = "http://192.168.76.2:11434";
|
||||||
prompt_format = "infer";
|
context_window = 128000;
|
||||||
|
model = "lennyerik/zeta";
|
||||||
|
prompt_format = "qwen";
|
||||||
max_requests = 64;
|
max_requests = 64;
|
||||||
|
max_output_tokens = 256;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
texlab = {
|
texlab = {
|
||||||
@@ -144,6 +166,8 @@
|
|||||||
# markdown
|
# markdown
|
||||||
nodePackages.markdownlint-cli
|
nodePackages.markdownlint-cli
|
||||||
|
|
||||||
|
# insert essential rust dependencies
|
||||||
|
|
||||||
# doom emacs dependencies
|
# doom emacs dependencies
|
||||||
yaml-language-server
|
yaml-language-server
|
||||||
nodePackages.typescript-language-server
|
nodePackages.typescript-language-server
|
||||||
@@ -163,7 +187,7 @@
|
|||||||
languagetool
|
languagetool
|
||||||
|
|
||||||
# latex
|
# latex
|
||||||
texlive.combined.scheme-medium
|
texlive.combined.scheme-full
|
||||||
|
|
||||||
# dependencies for nix-dotfiles/hydra-check-action
|
# dependencies for nix-dotfiles/hydra-check-action
|
||||||
nodejs_20
|
nodejs_20
|
||||||
@@ -184,5 +208,6 @@
|
|||||||
|
|
||||||
# arch zed deps
|
# arch zed deps
|
||||||
nixd
|
nixd
|
||||||
|
uv
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user