From e2fd47aa5845ea9722e27453949a4b500678e9dc Mon Sep 17 00:00:00 2001 From: OlivierChiasson Date: Wed, 15 Jul 2026 18:58:54 -0300 Subject: [PATCH] feat(users): add declarative rbw configuration for olivier Introduce rbw settings within olivier's home-manager module to centralize the email and base_url configuration. This replaces manual per-host configuration with a declarative approach. --- modules/system/users.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/modules/system/users.nix b/modules/system/users.nix index cda8fcf..af8d8e3 100644 --- a/modules/system/users.nix +++ b/modules/system/users.nix @@ -120,11 +120,23 @@ ); homeManager = { enable = true; - module = { ... }: { + module = { pkgs, ... }: { home.username = "olivier"; home.homeDirectory = "/home/olivier"; home.stateVersion = "25.11"; programs.home-manager.enable = true; + + # Declarative rbw config — replaces per-host + # `rbw config set email|base_url`. Neither value is a + # secret (URL + login email), so plaintext is fine, same + # as the public keys committed in ssh-inventory.nix. + programs.rbw = { + enable = true; + settings = { + email = "olivierchiasson@hotmail.fr"; + base_url = "https://bitwarden.chiasson.cloud"; + }; + }; }; }; ssh.inbound.enable = true;