From 6a663fbc709f3f7e56616136cc4199fbc0b44548 Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Thu, 2 May 2024 10:28:20 +0200 Subject: [PATCH] nixos.NixOSModule: Mark generated context file as sensitive data Fixes #167 --- .../20240502_102711_fl_167_nixosmodul_context_sensible_data.md | 1 + src/batou_ext/nixos.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 CHANGES.d/20240502_102711_fl_167_nixosmodul_context_sensible_data.md diff --git a/CHANGES.d/20240502_102711_fl_167_nixosmodul_context_sensible_data.md b/CHANGES.d/20240502_102711_fl_167_nixosmodul_context_sensible_data.md new file mode 100644 index 0000000..6c3b742 --- /dev/null +++ b/CHANGES.d/20240502_102711_fl_167_nixosmodul_context_sensible_data.md @@ -0,0 +1 @@ +- nixos.NixOSModule: Mark generated context file as sensitive (Fixes #167) diff --git a/src/batou_ext/nixos.py b/src/batou_ext/nixos.py index c1294f9..c6076e5 100644 --- a/src/batou_ext/nixos.py +++ b/src/batou_ext/nixos.py @@ -42,6 +42,7 @@ def configure(self): f"{self.prefix}_generated_context.nix", content=context, format_nix_code=True, + sensitive_data=True, )