started flakes

This commit is contained in:
John Lancaster
2024-12-04 22:03:18 -06:00
parent 809d4ee6c1
commit afbc973248
4 changed files with 105 additions and 12 deletions

11
appdaemon/devenv.nix Normal file
View File

@@ -0,0 +1,11 @@
{ pkgs, config, ... }: {
# This is your devenv configuration
packages = [ pkgs.hello ];
enterShell = ''
export PS1="\[\033[01;34m\](AppDaemon)\[\033[00m\] \[\]\[\]\n\[\033[1;32m\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\$\[\033[0m\] \[\]\[\]"
echo "AppDaemon v$(uv pip show appdaemon | awk '/^Version:/ {print $2}') development shell started"
'';
processes.run.exec = "hello";
}