kronos/.envrc
Piotr Gaczkowski 2ec156422b feat: Add initial Mobilizon => Discord sync (#1)
Closes #2 , #3

Co-authored-by: Piotr Gaczkowski <DoomHammerNG@gmail.com>
Reviewed-on: #1
Reviewed-by: leming leming <leming@hs3.pl>
2026-04-20 18:42:04 +00:00

20 lines
690 B
Bash

#!/usr/bin/env bash
# Install nix_direnv for better caching and handling of nix configuration
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
fi
watch_file nix/*.nix
# shell.nix allows using devenv on nix systems that don't have devenv installed
use nix
export DIRENV_WARN_TIMEOUT=30s
eval "$(devenv direnvrc)"
# `use devenv` supports the same options as the `devenv shell` command.
#
# To silence all output, use `--quiet`.
#
# Example usage: use devenv --quiet --impure --option services.postgres.enable:bool true
use devenv