add whatsapp for linux
This commit is contained in:
parent
26acd17638
commit
a600f71548
3 changed files with 18 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
chromium.enable = true;
|
||||
};
|
||||
chat = {
|
||||
whatsapp.enable = true;
|
||||
};
|
||||
apps = {
|
||||
nemo.enable = true;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./teams
|
||||
./whatsapp
|
||||
];
|
||||
}
|
||||
|
|
16
modules/desktop/chat/whatsapp/default.nix
Normal file
16
modules/desktop/chat/whatsapp/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.chat.whatsapp;
|
||||
in
|
||||
{
|
||||
options.modules.desktop.chat.whatsapp = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
whatsapp-for-linux
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue