feat: Update openclaw stuff
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m22s

This commit is contained in:
2026-03-11 12:45:24 +05:30
parent b17b2ab977
commit 96a92bd67f
4 changed files with 47 additions and 31 deletions

View File

@@ -4,25 +4,31 @@
config,
...
}: {
nixpkgs.config.permittedInsecurePackages = [
"openclaw-2026.2.26"
];
environment.systemPackages = with pkgs; [
ollama
openclaw
];
launchd.agents.openclaw = {
enable = true;
config = {
Label = "com.openclaw";
ProgramArguments = [
"${lib.getExe pkgs.ollama}"
"launch"
"openclaw"
"--model"
"qwen3.5:9b"
];
RunAtLoad = true;
KeepAlive = false;
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/openclaw.log";
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/openclaw.error.log";
};
# enable = true;
script = ''
${lib.getExe pkgs.ollama} launch openclaw --model qwen3.5:9b
'';
# config = {
# Label = "com.openclaw";
# ProgramArguments = [
# "${lib.getExe pkgs.ollama}"
# "launch"
# "openclaw"
# "--model"
# "qwen3.5:9b"
# ];
# RunAtLoad = true;
# KeepAlive = false;
# # StandardOutPath = "${config.home.homeDirectory}/Library/Logs/openclaw.log";
# # StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/openclaw.error.log";
# };
};
}

View File

@@ -1,8 +1,10 @@
{...}: {
taps = [
"lizardbyte/homebrew"
];
brews = [
"lizardbyte/homebrew/sunshine-beta"
];
homebrew = {
taps = [
"lizardbyte/homebrew"
];
brews = [
"lizardbyte/homebrew/sunshine-beta"
];
};
}

View File

@@ -1,18 +1,19 @@
{...}: {
imports = [
./gtk.nix
./gui.nix
./hyprland.nix
./hyprmon.nix
./hyprpaper.nix
./ironbar
./kdeconnect.nix
./remmina.nix
./ollama.nix
./swaync.nix
./swayosd.nix
./kdeconnect.nix
./gtk.nix
# ./anyrun.nix
./ironbar
./gui.nix
# ./eww.nix
./xdg.nix
./hyprmon.nix
./hyprland.nix
./hyprpaper.nix
./remmina.nix
# ./anyrun.nix
# ./eww.nix
# ./wallpaperengine.nix
];
}

7
home/services/ollama.nix Normal file
View File

@@ -0,0 +1,7 @@
{
pkgs,
device,
...
}: {
services.ollama.enable = device.is "shiro";
}