summaryrefslogtreecommitdiffstats
path: root/.envrc
diff options
context:
space:
mode:
Diffstat (limited to '.envrc')
-rw-r--r--.envrc20
1 files changed, 8 insertions, 12 deletions
diff --git a/.envrc b/.envrc
index f1c78da8..6cfcc25e 100644
--- a/.envrc
+++ b/.envrc
@@ -1,15 +1,11 @@
-#!/usr/bin/env sh
-
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+#! /usr/bin/env sh
use flake
-PATH_add ./scripts
+export AGENIX_RULES=./secrets.nix
+
+PATH_add ./scripts/
+
+if on_git_branch; then
+ echo && git status --short --branch
+fi