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,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"openclaw-2026.2.26"
|
||||||
|
];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ollama
|
ollama
|
||||||
openclaw
|
openclaw
|
||||||
];
|
];
|
||||||
launchd.agents.openclaw = {
|
launchd.agents.openclaw = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
config = {
|
script = ''
|
||||||
Label = "com.openclaw";
|
${lib.getExe pkgs.ollama} launch openclaw --model qwen3.5:9b
|
||||||
ProgramArguments = [
|
'';
|
||||||
"${lib.getExe pkgs.ollama}"
|
# config = {
|
||||||
"launch"
|
# Label = "com.openclaw";
|
||||||
"openclaw"
|
# ProgramArguments = [
|
||||||
"--model"
|
# "${lib.getExe pkgs.ollama}"
|
||||||
"qwen3.5:9b"
|
# "launch"
|
||||||
];
|
# "openclaw"
|
||||||
RunAtLoad = true;
|
# "--model"
|
||||||
KeepAlive = false;
|
# "qwen3.5:9b"
|
||||||
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/openclaw.log";
|
# ];
|
||||||
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/openclaw.error.log";
|
# 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 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
|
homebrew = {
|
||||||
taps = [
|
taps = [
|
||||||
"lizardbyte/homebrew"
|
"lizardbyte/homebrew"
|
||||||
];
|
];
|
||||||
brews = [
|
brews = [
|
||||||
"lizardbyte/homebrew/sunshine-beta"
|
"lizardbyte/homebrew/sunshine-beta"
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +1,19 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./gtk.nix
|
||||||
|
./gui.nix
|
||||||
|
./hyprland.nix
|
||||||
|
./hyprmon.nix
|
||||||
|
./hyprpaper.nix
|
||||||
|
./ironbar
|
||||||
|
./kdeconnect.nix
|
||||||
|
./remmina.nix
|
||||||
|
./ollama.nix
|
||||||
./swaync.nix
|
./swaync.nix
|
||||||
./swayosd.nix
|
./swayosd.nix
|
||||||
./kdeconnect.nix
|
|
||||||
./gtk.nix
|
|
||||||
# ./anyrun.nix
|
|
||||||
./ironbar
|
|
||||||
./gui.nix
|
|
||||||
# ./eww.nix
|
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./hyprmon.nix
|
# ./anyrun.nix
|
||||||
./hyprland.nix
|
# ./eww.nix
|
||||||
./hyprpaper.nix
|
|
||||||
./remmina.nix
|
|
||||||
# ./wallpaperengine.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