Moved bitwarden to a module

This commit is contained in:
Jan-Bulthuis committed 2025-05-29 19:23:52 +02:00
1 parent 12a4ba0482
commit bebd2748d1
2 files changed
+23 -1

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.bitwarden;
in
{
options.modules.bitwarden = {
enable = mkEnableOption "Bitwarden";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
bitwarden-desktop
];
};
}