bw email hypl
This commit is contained in:
32
home-modules/bitwarden.nix
Normal file
32
home-modules/bitwarden.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ config, pkgs, secrets, ... }:
|
||||
{
|
||||
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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user