diff --git a/flake.nix b/flake.nix index ab51f18..c9d8f7b 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,7 @@ description = "A Python API for various tools I use at work."; inputs = { nixpkgs.url = github:NixOS/nixpkgs/nixos-22.05; - flake-utils = { - url = github:numtide/flake-utils; - }; + flake-utils.url = github:numtide/flake-utils; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: @@ -23,5 +21,8 @@ pkgs.python39Packages.poetry ]; }; + shellHook = '' + export DJANGO_SETTINGS_MODULE=network_inventory.settings.local + ''; }); }