Files
dotfiles/home-modules/bitwarden.nix
Lennart J. Kurzweg (Nx2) b4586e8661 chmod
2025-01-27 22:17:00 +01:00

34 lines
782 B
Nix

{ config, pkgs, lib, host, secrets, ... }:
lib.mkIf (host != "NxACE")
{
home.packages = with pkgs; [
bitwarden
bitwarden-cli
];
# home.file.".config/Bitwarden CLI/data.json".text = ''
# {
# "stateVersion": 9,
# "global": {
# "theme": "system",
# "window": {},
# "environmentUrls": {
# "base": "https://pw.nx2.site",
# "api": null,
# "identity": null,
# "webVault": null,
# "icons": null,
# "notifications": null,
# "events": null,
# "keyConnector": null
# },
# "region": "Self-hosted",
# "installedVersion": "2023.12.0"
# }
# }
# '';
# home.sessionVariables.BW_SESSION = secrets.bitwarden.env.bw-session;
}