From c2838c33323136c440ccf45df838eaf76ca4322e Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 10 Mar 2024 18:50:29 +0100 Subject: [PATCH] Update flake with commands --- flake.nix | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index cd7077c..5d28e2d 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,7 @@ flask flask-sqlalchemy sqlalchemy + requests pytest ]); @@ -41,11 +42,26 @@ # Use $1 for positional args commands = [ - # { - # name = ""; - # help = ""; - # command = ""; - # } + { + name = "vscode"; + help = "Launch VSCode"; + command = "code . &>/dev/null &"; + } + { + name = "pycharm"; + help = "Launch PyCharm Professional"; + command = "pycharm-professional . &>/dev/null &"; + } + { + name = "db"; + help = "Launch SQLiteBrowser"; + command = "sqlitebrowser ./instance/formula10.db &>/dev/null &"; + } + { + name = "api"; + help = "Launch Hoppscotch in Google Chrome"; + command = "google-chrome-stable https://hoppscotch.io &>/dev/null &"; + } ]; }; });