summaryrefslogtreecommitdiffstats
path: root/consumers
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2025-09-05 23:52:28 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2025-09-05 23:52:28 +0200
commit7132c52c038de995eb291070a4cda3eaf975635b (patch)
treea8a2a438d03b0761454e11f50ccfe59e7850c87d /consumers
parentadba5f32fdec0ca53937d571cd76f36e66fa6556 (diff)
another take on basic contracts
- adds "secret" consumer `nixosModules.userSecret` - binds secret provider `testing.hardcodedSecret.rootPassword` with secret consumer `users.users.root.passwordSecret`
Diffstat (limited to 'consumers')
-rw-r--r--consumers/users.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/consumers/users.nix b/consumers/users.nix
deleted file mode 100644
index 9e4f401..0000000
--- a/consumers/users.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ lib, config, ... }:
-{
- options = {
- userPasswords.secrets.consumer = lib.mkOption {
- type = config.contracts.secrets.provider;
- };
- };
- config = {
- users.users.root.passwordFile = config.userPasswords.secrets.consumer.output.path;
- };
-}