try to get rid of with lib;
This commit is contained in:
parent
939ff118ea
commit
55355f91c5
|
@ -6,14 +6,14 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
let
|
||||||
cfg = config.modules.desktop.apps.bitwarden;
|
cfg = config.modules.desktop.apps.bitwarden;
|
||||||
in {
|
in {
|
||||||
options.modules.desktop.apps.bitwarden = {
|
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; [
|
users.users.sako.packages = with pkgs; [
|
||||||
bitwarden
|
bitwarden
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue