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, 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";
# };
}; };
} }

View File

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

View File

@@ -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
View File

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