diff --git a/home/desktop/default.nix b/home/desktop/default.nix index 1e32c755..6fcbc3a2 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -51,14 +51,17 @@ XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects"; }; }; - configFile."teams-for-linux/config.json".text = builtins.toJSON { - awayOnSystemIdle = true; - closeAppOnCross = true; - followSystemTheme = true; - electronCLIFlags = lib.mkIf config.wayland.windowManager.sway.enable [["ozone-platform" "wayland"]]; - notificationMethod = "electron"; - optInTeamsV2 = true; - spellCheckerLanguages = ["en_GB"]; + configFile = { + "autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop"; + "teams-for-linux/config.json".text = builtins.toJSON { + awayOnSystemIdle = true; + closeAppOnCross = true; + followSystemTheme = true; + electronCLIFlags = lib.mkIf config.wayland.windowManager.sway.enable [["ozone-platform" "wayland"]]; + notificationMethod = "electron"; + optInTeamsV2 = true; + spellCheckerLanguages = ["en_GB"]; + }; }; }; xresources.properties = with config.scheme.withHashtag; { diff --git a/home/work.nix b/home/work.nix index a107f575..8e4578af 100644 --- a/home/work.nix +++ b/home/work.nix @@ -14,4 +14,8 @@ proton.primary = lib.mkForce false; outlook.primary = lib.mkForce true; }; + xdg.configFile = { + "autostart/twinkle.desktop".source = "${pkgs.twinkle}/share/applications/twinkle.desktop"; + "autostart/teams-for-linux.desktop".source = "${pkgs.teams-for-linux}/share/applications/teams-for-linux.desktop"; + }; }