add bitwarden
This commit is contained in:
parent
57979afbac
commit
f9479f6dad
2 changed files with 22 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
||||||
nemo.enable = true;
|
nemo.enable = true;
|
||||||
pass.enable = true;
|
pass.enable = true;
|
||||||
keepassxc.enable = true;
|
keepassxc.enable = true;
|
||||||
|
bitwarden.enable = true;
|
||||||
rssguard.enable = true;
|
rssguard.enable = true;
|
||||||
nicotineplus.enable = true;
|
nicotineplus.enable = true;
|
||||||
transmission.enable = true;
|
transmission.enable = true;
|
||||||
|
|
21
modules/desktop/apps/bitwarden/default.nix
Normal file
21
modules/desktop/apps/bitwarden/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
outputs,
|
||||||
|
options,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; let
|
||||||
|
cfg = config.modules.desktop.apps.bitwarden;
|
||||||
|
in {
|
||||||
|
options.modules.desktop.apps.bitwarden = {
|
||||||
|
enable = mkEnableOption false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
users.users.sako.packages = with pkgs; [
|
||||||
|
bitwarden
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue