From 3f9cbf6806c9c8ff86c842fdcad1e38368dd5dcb Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Thu, 17 Nov 2022 18:15:27 +0100 Subject: [PATCH] Update flake --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 + ''; }); }