summaryrefslogtreecommitdiffstats
path: root/.envrc
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 14:26:34 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 14:26:34 +0100
commit981060cf79e468da091b7bb359d19e514fa23ab1 (patch)
treeb900fec93ee6524e49c12f52c5003b128fbb10e6 /.envrc
parentnotes/deploy: Add a very basic version of a deploy guide (diff)
downloadnixos-config-981060cf79e468da091b7bb359d19e514fa23ab1.zip
treewide: Align files with the same files in the `nixos-server` repo
This facilitates overlaying the two repos over each other.
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