feat: Update openclaw stuff
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m22s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m22s
This commit is contained in:
@@ -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";
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
{...}: {
|
||||
taps = [
|
||||
"lizardbyte/homebrew"
|
||||
];
|
||||
brews = [
|
||||
"lizardbyte/homebrew/sunshine-beta"
|
||||
];
|
||||
homebrew = {
|
||||
taps = [
|
||||
"lizardbyte/homebrew"
|
||||
];
|
||||
brews = [
|
||||
"lizardbyte/homebrew/sunshine-beta"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
7
home/services/ollama.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
...
|
||||
}: {
|
||||
services.ollama.enable = device.is "shiro";
|
||||
}
|
||||
Reference in New Issue
Block a user