17 lines
354 B
Nix
17 lines
354 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
dirModules = config.features.modules.security or { };
|
|
in
|
|
{
|
|
config = lib.mkIf ((dirModules.enable or false) && (dirModules.bitwarden.enable or true)) {
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"electron-39.8.10"
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
bitwarden-desktop
|
|
];
|
|
};
|
|
}
|