try to get rid of with lib;

This commit is contained in:
Sakooooo 2024-08-01 16:02:10 +04:00
parent 939ff118ea
commit 55355f91c5
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -6,14 +6,14 @@
pkgs,
...
}:
with lib; let
let
cfg = config.modules.desktop.apps.bitwarden;
in {
options.modules.desktop.apps.bitwarden = {
enable = mkEnableOption false;
enable = lib.mkEnableOption false;
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
bitwarden
];