diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 0e998933..fecd05e9 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -39,6 +39,7 @@ nemo.enable = true; pass.enable = true; keepassxc.enable = true; + bitwarden.enable = true; rssguard.enable = true; nicotineplus.enable = true; transmission.enable = true; diff --git a/modules/desktop/apps/bitwarden/default.nix b/modules/desktop/apps/bitwarden/default.nix new file mode 100644 index 00000000..f2bd8f98 --- /dev/null +++ b/modules/desktop/apps/bitwarden/default.nix @@ -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 + ]; + }; +}