Bitwarden: rofi integration

This commit is contained in:
Filippo Berto 2023-05-24 12:29:45 +02:00
parent ac6d3e6d48
commit e1c9c2be4e
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
4 changed files with 20 additions and 6 deletions

8
hm_modules/bitwarden.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, config, lib, ... }: {
home.packages =
[ pkgs.bitwarden ] ++
lib.optionals config.programs.rofi.enable (builtins.attrValues {
inherit (pkgs.unstable_pkgs) rbw rofi-rbw;
inherit (pkgs.pinentry) gnome3;
});
}

View file

@ -1,15 +1,19 @@
{ pkgs, ... }: {
home.packages = builtins.attrValues {
inherit (pkgs) rofimoji rofi-bluetooth rofi-power-menu rofi-vpn;
inherit (pkgs)
rofimoji
rofi-bluetooth
rofi-power-menu
rofi-vpn
xdotool
;
};
programs.rofi = {
enable = true;
location = "center";
font = "${pkgs.rice.font.monospace.name} ${
toString pkgs.rice.font.monospace.size
}";
font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
plugins = [ pkgs.rofi-calc ];
extraConfig = { modi = "drun,run,ssh,window,calc"; };
terminal = "kitty";