bitwarden

This commit is contained in:
2026-07-28 16:59:51 -03:00
parent a2d7391bbb
commit 1e14c57dc1
4 changed files with 49 additions and 3 deletions
+2 -1
View File
@@ -35,6 +35,7 @@
../../modules/home-manager/ntfy-notify
../../modules/home-manager/pinentry
../../modules/home-manager/swaync
../../modules/home-manager/bitwarden-cli
inputs.zen-browser.homeModules.beta
];
@@ -95,7 +96,7 @@
openspec.enable = true;
power-profiles.enable = true;
ntfy-notify.enable = true;
bitwarden.enable = true;
};
home.packages =
let
@@ -0,0 +1,24 @@
{
lib,
config,
pkgs,
...
}:
{
options.custom = {
bitwarden.enable = lib.mkEnableOption "enable bitwarden - CLI password manager";
};
config = lib.mkIf config.custom.bitwarden.enable {
programs.rbw = {
enable = true;
settings = {
email = "me@joaoporta.com";
lock_timeout = 7200;
pinentry = pkgs.pinentry-gnome3;
base_url = "https://pass.joaoporta.com";
};
};
};
}
@@ -130,7 +130,7 @@ return {
},
{
name = "hermes",
path = "/mnt/obsidian",
path = "/mnt/documents/journal",
},
},
daily_notes = {
@@ -148,6 +148,27 @@ return {
subdir = "Templates",
date_format = "%Y-%m-%d",
time_format = "%H:%M",
substitutions = {
week = function()
return os.date("%W", os.time())
end,
day = function()
local d = os.date("%w", os.time())
local r = {
["0"] = "Sunday",
["1"] = "Monday",
["2"] = "Tuesday",
["3"] = "Wednesday",
["4"] = "Thursday",
["5"] = "Friday",
["6"] = "Saturday",
}
return r[d]
end,
full_date = function()
return os.date("%A, %B %d, %Y", os.time())
end,
},
},
picker = {
name = "telescope.nvim",
+1 -1
View File
@@ -29,7 +29,7 @@
oh-my-zsh = {
enable = true;
plugins = [ "git" "jj" ];
plugins = [ "git" "jj" "rbw" ];
theme = "";
};