21 lines
312 B
Nix
21 lines
312 B
Nix
{
|
|
outputs,
|
|
options,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.modules.desktop.apps.bitwarden;
|
|
in {
|
|
options.modules.desktop.apps.bitwarden = {
|
|
enable = lib.mkEnableOption false;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
users.users.sako.packages = with pkgs; [
|
|
bitwarden
|
|
];
|
|
};
|
|
}
|