From bb2cd4733dffcf2c33a1e56a013efae6b206e3f6 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Wed, 6 Sep 2023 10:02:55 +0530 Subject: [PATCH] enable bitwarden --- home/programs/default.nix | 1 + home/programs/firefox.nix | 5 +++++ home/wm/hyprland/default.nix | 3 +++ 3 files changed, 9 insertions(+) diff --git a/home/programs/default.nix b/home/programs/default.nix index 6558e18..5a423cd 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -22,6 +22,7 @@ home.packages = with pkgs; [ _1password-gui + bitwarden evince git-crypt gnome.eog diff --git a/home/programs/firefox.nix b/home/programs/firefox.nix index 254b9fc..4112534 100644 --- a/home/programs/firefox.nix +++ b/home/programs/firefox.nix @@ -51,6 +51,11 @@ "installation_mode" = "force_installed"; "install_url" = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi"; }; + "{446900e4-71c2-419f-a6a7-df9c091e268b}" = { + "allowed_types" = "extension"; + "installation_mode" = "force_installed"; + "install_url" = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi"; + }; "queryamoid@kaply.com" = { "allowed_types" = "extension"; "installation_mode" = "force_installed"; diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 6cac381..5f4b5a2 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -140,6 +140,9 @@ in { windowrulev2 = float,class:^(yubico.org.)$ windowrulev2 = center,class:^(yubico.org.)$ + windowrulev2 = float,class:^(Bitwarden)$ + windowrulev2 = center,class:^(Bitwarden)$ + windowrulev2 = dimaround,class:^(gcr-prompter)$ exec-once = ${dbus-update-activation-environment} --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP XDG_SESSION_TYPE NIXOS_OZONE_WL