diff options
| author | Ben Sima <ben@bensima.com> | 2026-05-21 13:09:59 -0400 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2026-05-21 13:09:59 -0400 |
| commit | 12dd309b8e334eaf19eae6d9eb9bb85024457b8a (patch) | |
| tree | cec44a34b39a4e33341fe9a6af92c3aba43019ec /shell.nix | |
| parent | 6992c311c1b2289f17f2591f9fe0ad44f3fb549e (diff) | |
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)
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 17 |
1 files changed, 0 insertions, 17 deletions
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 <nixpkgs> {} }: - -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" - ''; -} |
