diff --git a/darwin/shiro/services/openclaw.nix b/darwin/shiro/services/openclaw.nix index 5d332d46..d1e6256f 100644 --- a/darwin/shiro/services/openclaw.nix +++ b/darwin/shiro/services/openclaw.nix @@ -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"; + # }; }; } diff --git a/darwin/shiro/services/sunshine.nix b/darwin/shiro/services/sunshine.nix index 34eed2bb..085a1227 100644 --- a/darwin/shiro/services/sunshine.nix +++ b/darwin/shiro/services/sunshine.nix @@ -1,8 +1,10 @@ {...}: { - taps = [ - "lizardbyte/homebrew" - ]; - brews = [ - "lizardbyte/homebrew/sunshine-beta" - ]; + homebrew = { + taps = [ + "lizardbyte/homebrew" + ]; + brews = [ + "lizardbyte/homebrew/sunshine-beta" + ]; + }; } diff --git a/home/services/default.nix b/home/services/default.nix index 06bcf1d2..4642ac07 100644 --- a/home/services/default.nix +++ b/home/services/default.nix @@ -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 ]; } diff --git a/home/services/ollama.nix b/home/services/ollama.nix new file mode 100644 index 00000000..092e83f6 --- /dev/null +++ b/home/services/ollama.nix @@ -0,0 +1,7 @@ +{ + pkgs, + device, + ... +}: { + services.ollama.enable = device.is "shiro"; +}