From 11670279eff8d1ae2efd2b793ff70b690454eb10 Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Sat, 28 Sep 2024 23:39:16 -0400 Subject: [PATCH] nixos dir warning --- common/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common/default.nix b/common/default.nix index e77ec8d..1872534 100644 --- a/common/default.nix +++ b/common/default.nix @@ -59,4 +59,14 @@ defaultNetwork.settings.dns_enabled = true; }; }; + environment.etc = { + "nixos/THIS-SERVER-IS-BUILT-EXTERNALLY-READ-ME" = { + text = '' + Nothing in this directory is the current config. + Please see https://git.private.coffee/wolfgirls/nixos + Or /run/current-system/ + ''; + mode = "0644"; + }; + }; }