From 12dd309b8e334eaf19eae6d9eb9bb85024457b8a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 21 May 2026 13:09:59 -0400 Subject: Convert to nix flake; fix systemd service to use nix run - Add flake.nix with nixos-unstable nixpkgs, devShell and slopbot package - Add flake.lock - Update .envrc to 'use flake .' - Update slopbot.service: use 'nix run' instead of nix-shell, remove broken sandbox options (ProtectHome, InaccessiblePaths, ProtectSystem, ReadOnlyPaths, ReadWritePaths, PrivateTmp) that block nix store access - Delete shell.nix - Add 'result' to .gitignore - Restore openai to requirements.txt (was accidentally dropped) --- shell.nix | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix deleted file mode 100644 index fcc0bd7..0000000 --- a/shell.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs ? import {} }: - -pkgs.mkShell { - buildInputs = [ - (pkgs.python3.withPackages (ps: [ - ps.zulip - ps.yfinance - ps.openai - ps.requests - ])) - ]; - - shellHook = '' - echo "slopbot dev shell ready" - echo "Run: python main.py" - ''; -} -- cgit v1.2.3