Moved bitwarden to a module
This commit is contained in:
parent
12a4ba0482
commit
bebd2748d1
22
modules/home/utilities/bitwarden.nix
Normal file
22
modules/home/utilities/bitwarden.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.modules.bitwarden;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.bitwarden = {
|
||||||
|
enable = mkEnableOption "Bitwarden";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
bitwarden-desktop
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@ -24,7 +24,6 @@ in
|
|||||||
freecad-wayland
|
freecad-wayland
|
||||||
inkscape
|
inkscape
|
||||||
ente-auth
|
ente-auth
|
||||||
bitwarden
|
|
||||||
carla
|
carla
|
||||||
winbox
|
winbox
|
||||||
whatsapp-for-linux
|
whatsapp-for-linux
|
||||||
@ -61,6 +60,7 @@ in
|
|||||||
"flake.lock"
|
"flake.lock"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
bitwarden.enable = true;
|
||||||
xpra = {
|
xpra = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hosts = [
|
hosts = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user