This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

configs.opencrow: remove, drop the opencrow input

+4 -174
+3 -46
flake.lock
··· 821 821 "type": "github" 822 822 } 823 823 }, 824 - "opencrow": { 825 - "inputs": { 826 - "nixpkgs": [ 827 - "nixpkgs" 828 - ], 829 - "treefmt-nix": "treefmt-nix_6" 830 - }, 831 - "locked": { 832 - "lastModified": 1782727145, 833 - "narHash": "sha256-buooDQiylOxQBO6nvATodIpC/jp9Vic+JvWYYrTCv7M=", 834 - "owner": "pinpox", 835 - "repo": "opencrow", 836 - "rev": "b6a2b714bbb8d10f848b9f859283bb5745f7dccf", 837 - "type": "github" 838 - }, 839 - "original": { 840 - "owner": "pinpox", 841 - "repo": "opencrow", 842 - "type": "github" 843 - } 844 - }, 845 824 "pyproject-build-systems": { 846 825 "inputs": { 847 826 "nixpkgs": [ ··· 897 876 "nixpkgs": [ 898 877 "nixpkgs" 899 878 ], 900 - "treefmt-nix": "treefmt-nix_7" 879 + "treefmt-nix": "treefmt-nix_6" 901 880 }, 902 881 "locked": { 903 882 "lastModified": 1770248736, ··· 934 913 "nixpkgs": "nixpkgs_2", 935 914 "nixpkgs-triage": "nixpkgs-triage", 936 915 "nixvim": "nixvim", 937 - "opencrow": "opencrow", 938 916 "rogue-talk": "rogue-talk", 939 917 "sigexec": "sigexec", 940 918 "spora": "spora", 941 919 "stockholm": "stockholm", 942 920 "tincr": "tincr", 943 - "treefmt-nix": "treefmt-nix_8", 921 + "treefmt-nix": "treefmt-nix_7", 944 922 "wrappers": "wrappers" 945 923 } 946 924 }, ··· 1243 1221 "treefmt-nix_6": { 1244 1222 "inputs": { 1245 1223 "nixpkgs": [ 1246 - "opencrow", 1247 - "nixpkgs" 1248 - ] 1249 - }, 1250 - "locked": { 1251 - "lastModified": 1773297127, 1252 - "narHash": "sha256-6E/yhXP7Oy/NbXtf1ktzmU8SdVqJQ09HC/48ebEGBpk=", 1253 - "owner": "numtide", 1254 - "repo": "treefmt-nix", 1255 - "rev": "71b125cd05fbfd78cab3e070b73544abe24c5016", 1256 - "type": "github" 1257 - }, 1258 - "original": { 1259 - "owner": "numtide", 1260 - "repo": "treefmt-nix", 1261 - "type": "github" 1262 - } 1263 - }, 1264 - "treefmt-nix_7": { 1265 - "inputs": { 1266 - "nixpkgs": [ 1267 1224 "rogue-talk", 1268 1225 "nixpkgs" 1269 1226 ] ··· 1282 1239 "type": "github" 1283 1240 } 1284 1241 }, 1285 - "treefmt-nix_8": { 1242 + "treefmt-nix_7": { 1286 1243 "inputs": { 1287 1244 "nixpkgs": [ 1288 1245 "nixpkgs"
-3
flake.nix
··· 99 99 # wrappers.url = "git+file:/home/lass/src/wrappers"; 100 100 wrappers.inputs.nixpkgs.follows = "nixpkgs"; 101 101 102 - opencrow.url = "github:pinpox/opencrow"; 103 - opencrow.inputs.nixpkgs.follows = "nixpkgs"; 104 - 105 102 nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver"; 106 103 nixos-mailserver.inputs.nixpkgs.follows = "nixpkgs"; 107 104
-121
configs/opencrow.nix
··· 1 - { 2 - self, 3 - config, 4 - pkgs, 5 - ... 6 - }: 7 - let 8 - opencrow = self.inputs.opencrow.packages.${pkgs.system}.opencrow; 9 - pi = self.inputs.llm-agents.packages.${pkgs.system}.pi; 10 - in 11 - { 12 - users.users.bot = { 13 - isNormalUser = true; 14 - home = "/home/bot"; 15 - createHome = true; 16 - group = "users"; 17 - useDefaultShell = true; 18 - openssh.authorizedKeys.keys = [ 19 - self.keys.ssh.barnacle.public 20 - self.keys.ssh.yubi_pgp.public 21 - self.keys.ssh.termux_massulus.public 22 - self.keys.ssh.yubi1.public 23 - self.keys.ssh.yubi2.public 24 - self.keys.ssh.solo2.public 25 - self.keys.ssh.ignavia.public 26 - self.keys.ssh.phonetpm_massulus.public 27 - self.keys.ssh.massulus.public 28 - ]; 29 - packages = [ 30 - opencrow 31 - pi 32 - pkgs.curl 33 - pkgs.jq 34 - pkgs.lynx 35 - ]; 36 - }; 37 - 38 - clan.core.vars.generators.opencrow-matrix = { 39 - prompts.matrix-access-token = { 40 - description = "Matrix access token for @opencrow:lassul.us"; 41 - type = "hidden"; 42 - persist = true; 43 - }; 44 - }; 45 - 46 - clan.core.vars.generators.opencrow-openrouter = { 47 - prompts.openrouter-api-key = { 48 - description = "OpenRouter API key for opencrow - get from https://openrouter.ai/keys"; 49 - type = "hidden"; 50 - persist = true; 51 - }; 52 - }; 53 - 54 - clan.core.vars.generators.opencrow-env = { 55 - dependencies = [ 56 - "opencrow-matrix" 57 - "opencrow-openrouter" 58 - ]; 59 - files."opencrow.env" = { }; 60 - script = '' 61 - cat > "$out/opencrow.env" << EOF 62 - OPENCROW_MATRIX_ACCESS_TOKEN=$(cat $in/opencrow-matrix/matrix-access-token) 63 - OPENROUTER_API_KEY=$(cat $in/opencrow-openrouter/openrouter-api-key) 64 - EOF 65 - ''; 66 - }; 67 - 68 - systemd.services.opencrow = { 69 - description = "OpenCrow Matrix Bot"; 70 - wantedBy = [ "multi-user.target" ]; 71 - after = [ "network-online.target" ]; 72 - wants = [ "network-online.target" ]; 73 - 74 - path = [ 75 - opencrow 76 - pi 77 - pkgs.bash 78 - pkgs.coreutils 79 - pkgs.curl 80 - pkgs.jq 81 - pkgs.lynx 82 - ]; 83 - 84 - environment = { 85 - OPENCROW_MATRIX_HOMESERVER = "https://matrix.lassul.us"; 86 - OPENCROW_ALLOWED_USERS = "@lassulus:lassul.us"; 87 - OPENCROW_MATRIX_USER_ID = "@opencrow:lassul.us"; 88 - OPENCROW_MATRIX_DEVICE_ID = "AYBPKDHIDV"; 89 - OPENCROW_PI_SESSION_DIR = "/home/bot/opencrow/sessions"; 90 - OPENCROW_PI_WORKING_DIR = "/home/bot/opencrow"; 91 - OPENCROW_PI_SKILLS = "${opencrow}/share/opencrow/skills/web"; 92 - OPENCROW_PI_SKILLS_DIR = "/home/bot/skills"; 93 - OPENCROW_PI_PROVIDER = "openrouter"; 94 - OPENCROW_PI_MODEL = "anthropic/claude-sonnet-4"; 95 - # OPENCROW_HEARTBEAT_INTERVAL = "10m"; 96 - OPENCROW_SHOW_TOOL_CALLS = "1"; 97 - OPENCROW_SOUL_FILE = "/home/bot/opencrow/SOUL.md"; 98 - PI_CODING_AGENT_DIR = "/home/bot/opencrow/pi-agent"; 99 - }; 100 - 101 - serviceConfig = { 102 - EnvironmentFile = [ 103 - config.clan.core.vars.generators.opencrow-env.files."opencrow.env".path 104 - config.clan.core.vars.generators.mailserver-bot.files."mail.env".path 105 - ]; 106 - ExecStart = "${opencrow}/bin/opencrow"; 107 - Restart = "on-failure"; 108 - RestartSec = 10; 109 - User = "bot"; 110 - Group = "users"; 111 - WorkingDirectory = "/home/bot/opencrow"; 112 - }; 113 - }; 114 - 115 - # ensure working directory exists 116 - systemd.tmpfiles.rules = [ 117 - "d /home/bot/opencrow 0750 bot users -" 118 - "d /home/bot/opencrow/sessions 0750 bot users -" 119 - "d /home/bot/opencrow/pi-agent 0750 bot users -" 120 - ]; 121 - }
+1 -1
machines/coaxmetal/hermes.nix
··· 543 543 persist = true; 544 544 }; 545 545 546 - # Assemble the .env Hermes reads (mirrors the opencrow-env pattern). 546 + # Assemble the .env Hermes reads from the generators above. 547 547 clan.core.vars.generators.hermes-env = { 548 548 dependencies = [ 549 549 "hermes-matrix"
-3
machines/neoprism/config.nix
··· 85 85 # paste + cyberlocker 86 86 ../../configs/paste 87 87 88 - # opencrow matrix bot 89 - ../../configs/opencrow.nix 90 - 91 88 # document signing 92 89 ../../configs/docuseal.nix 93 90