Moved bitwarden to a module

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

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
];
};
}

View File

@ -24,7 +24,6 @@ in
freecad-wayland
inkscape
ente-auth
bitwarden
carla
winbox
whatsapp-for-linux
@ -61,6 +60,7 @@ in
"flake.lock"
];
};
bitwarden.enable = true;
xpra = {
enable = true;
hosts = [