diff --git a/configuration.nix b/configuration.nix index 5b81681..03ea191 100644 --- a/configuration.nix +++ b/configuration.nix @@ -68,7 +68,7 @@ in ssh.enable = true; bash = { enable = true; - profileExtra = "cd ${adPath}"; + profileExtra = "cd ${adNixPath}"; }; }; }; diff --git a/shell.nix b/shell.nix index 3d27f35..43391f0 100644 --- a/shell.nix +++ b/shell.nix @@ -6,7 +6,7 @@ pkgs.mkShell { unstable.uv unstable.python312Packages.ipykernel unstable.python312Packages.rich - pkgs.python312Packages.iso8601 + # pkgs.python312Packages.iso8601 # unstable.appdaemon ]; @@ -16,6 +16,9 @@ pkgs.mkShell { alias dbuild="docker build -t acockburn/appdaemon:local-dev /usr/src/app" alias fbuild="build && dbuild" alias clean="cd /usr/src/app && rm -rf ./build ./dist" + alias python="/usr/src/app/.venv/bin/python3" + alias ad="python -m appdaemon" cd /usr/src/app + uv sync --all-extras --upgrade --inexact ''; }