add bitwarden

This commit is contained in:
Sakooooo 2024-01-28 17:12:12 +04:00
parent 57979afbac
commit f9479f6dad
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 22 additions and 0 deletions

View file

@ -39,6 +39,7 @@
nemo.enable = true; nemo.enable = true;
pass.enable = true; pass.enable = true;
keepassxc.enable = true; keepassxc.enable = true;
bitwarden.enable = true;
rssguard.enable = true; rssguard.enable = true;
nicotineplus.enable = true; nicotineplus.enable = true;
transmission.enable = true; transmission.enable = true;

View file

@ -0,0 +1,21 @@
{
outputs,
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.apps.bitwarden;
in {
options.modules.desktop.apps.bitwarden = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
bitwarden
];
};
}