From 3d76346b0b5ecf6a08f8dbe68582aec5464dbfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 21 Jul 2022 10:44:13 +0200 Subject: Add simple script to create flake for development environment --- local/bin/new-flake-dev | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 local/bin/new-flake-dev (limited to 'local') diff --git a/local/bin/new-flake-dev b/local/bin/new-flake-dev new file mode 100755 index 0000000..a45c86d --- /dev/null +++ b/local/bin/new-flake-dev @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +set -eu +if [ -f ./flake.nix ]; then + echo "There is already existing flake.nix file!" >&2 + exit 1 +fi +cat >./flake.nix <