mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
Added unused ai application group, btop, better hyprtop and hypridle, automatic nix garbage collection, and un-deduplicated hyprland configs
This commit is contained in:
39
modules/application-groups/ai.nix
Normal file
39
modules/application-groups/ai.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
loadModels = [
|
||||
"llama3.2:3b"
|
||||
"phi4-reasoning:14b"
|
||||
"dolphin3:8b"
|
||||
"smallthinker:3b"
|
||||
"gemma3:4b"
|
||||
"gemma3:12b"
|
||||
"gemma3:27b"
|
||||
"deepcoder:14b"
|
||||
"qwen3:14b"
|
||||
"nomic-embed-text"
|
||||
];
|
||||
acceleration = "cuda";
|
||||
};
|
||||
|
||||
services.open-webui = {
|
||||
enable = true;
|
||||
port = 8888;
|
||||
host = "127.0.0.1";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
oterm
|
||||
alpaca
|
||||
aichat
|
||||
fabric-ai
|
||||
aider-chat
|
||||
|
||||
# tgpt
|
||||
# smartcat
|
||||
# nextjs-ollama-llm-ui
|
||||
# open-webui
|
||||
];
|
||||
}
|
||||
@@ -20,6 +20,7 @@
|
||||
services.hardware.openrgb.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
btop
|
||||
desktop-file-utils
|
||||
dnsutils
|
||||
ffmpeg-full
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
|
||||
programs.hyprlock.enable = true;
|
||||
services.hypridle.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
waybar
|
||||
dunst
|
||||
@@ -39,8 +42,6 @@
|
||||
swayimg
|
||||
hyprpicker
|
||||
kanshi
|
||||
hyprlock
|
||||
swayidle
|
||||
mako
|
||||
|
||||
(pkgs.waybar.overrideAttrs (oldAttrs: {
|
||||
|
||||
@@ -12,6 +12,14 @@
|
||||
# Generally want a larger download buffer
|
||||
nix.settings.download-buffer-size = 524288000;
|
||||
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.optimise.automatic = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
|
||||
programs.bash.shellAliases = {
|
||||
nixrebuild = "pushd /etc/nixos && { trap 'popd' EXIT; sudo nixos-rebuild switch --flake .#$(hostname); }";
|
||||
nixupdate = "cd /etc/nixos && sudo nix flake update && sudo nixos-rebuild switch --flake .#$(hostname)";
|
||||
|
||||
Reference in New Issue
Block a user