2024-12-09 10:57:28 -08:00
|
|
|
{ vars, pkgs, ... }:
|
2024-12-06 18:21:14 -08:00
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
rofi-rbw
|
|
|
|
wl-clipboard
|
|
|
|
dotool
|
|
|
|
];
|
|
|
|
programs.tofi = {
|
|
|
|
enable = false;
|
|
|
|
settings = {};
|
|
|
|
};
|
|
|
|
programs.rofi = {
|
|
|
|
enable = false;
|
|
|
|
};
|
|
|
|
programs.wofi = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.rbw = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
base_url = "https://bitwarden.jafner.tools";
|
|
|
|
email = "jafner425@gmail.com";
|
2024-12-09 10:57:28 -08:00
|
|
|
lock_timeout = 604800;
|
2024-12-06 18:21:14 -08:00
|
|
|
pinentry = pkgs.pinentry-qt;
|
|
|
|
};
|
|
|
|
};
|
2024-12-09 10:57:28 -08:00
|
|
|
|
|
|
|
xdg.desktopEntries = {
|
|
|
|
rofi-rbw = {
|
|
|
|
exec = "${pkgs.rofi-rbw}/bin/rofi-rbw";
|
|
|
|
icon = "/home/${vars.user.username}/.icons/custom/bitwarden.png";
|
|
|
|
name = "Bitwarden";
|
|
|
|
categories = [ "Utility" "Security" ];
|
|
|
|
type = "Application";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home.file."rofi-rbw.rc" = {
|
|
|
|
target = ".config/rofi-rbw.rc";
|
|
|
|
text = ''
|
|
|
|
action="type"
|
|
|
|
typing-key-delay=5
|
|
|
|
no-folder
|
|
|
|
selector-args="-W 40% -H 30%"
|
|
|
|
selector="wofi"
|
|
|
|
clipboarder="wl-copy"
|
|
|
|
typer="dotool"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
home.file."bitwarden.png" = {
|
|
|
|
target = ".icons/custom/bitwarden.png";
|
|
|
|
source = pkgs.fetchurl {
|
|
|
|
url = "https://raw.githubusercontent.com/bitwarden/clients/refs/heads/main/apps/desktop/resources/icons/64x64.png";
|
|
|
|
sha256 = "sha256-ZEYwxeoL8doV4y3M6kAyfz+5IoDsZ+ci8m+Qghfdp9M=";
|
|
|
|
};
|
|
|
|
};
|
2024-12-06 18:21:14 -08:00
|
|
|
}
|
|
|
|
|