Begin adding support for setting unix password for users

This commit is contained in:
Kaare Hoff Skovgaard 2025-07-19 21:47:52 +02:00
parent a7339120a0
commit 57c4fd3d35
Signed by: khs
GPG key ID: C7D890804F01E9F0
2 changed files with 15 additions and 0 deletions

View file

@ -4,6 +4,7 @@
./ssh-host.nix ./ssh-host.nix
./loki-mtls.nix ./loki-mtls.nix
./prometheus-mtls.nix ./prometheus-mtls.nix
./unix-users.nix
]; ];
khscodes.infrastructure.vault-server-approle.path = "\${ vault_auth_backend.approle.path }"; khscodes.infrastructure.vault-server-approle.path = "\${ vault_auth_backend.approle.path }";
khscodes.infrastructure.provisioning.post.modules = [ khscodes.infrastructure.provisioning.post.modules = [

View file

@ -0,0 +1,14 @@
{
khscodes.infrastructure.provisioning.post.modules = [
{
khscodes.vault.mount.unix-users = {
type = "kv";
path = "unix-users";
options = {
version = "2";
};
description = "Secrets used for forgejo";
};
}
];
}