From f590351dd0a3a4706452723e5a0422a25a08121f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 24 Nov 2024 12:44:45 +0200 Subject: Added desktop file for whatsapp and sorted out the JDK thing --- hosts/laptop-nixos/home.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix index a180f01..2f4c5d2 100644 --- a/hosts/laptop-nixos/home.nix +++ b/hosts/laptop-nixos/home.nix @@ -51,22 +51,22 @@ libnotify wl-clipboard openssl - whatsapp-for-linux whatsie libratbag piper goose sqlc jetbrains.idea-community - jdk17 jdk maven gradle + kdePackages.filelight ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage # plain files is through 'home.file'. home.file = { + ".jdks/openjdk17".source = pkgs.openjdk17; # # Building this configuration will create a copy of 'dotfiles/screenrc' in # # the Nix store. Activating the configuration will then make '~/.screenrc' a # # symlink to the Nix store copy. @@ -83,6 +83,21 @@ "$HOME/.local/bin" ]; + xdg.desktopEntries = { + "com.ktechpit.whatsie" = { + name = "WhatsApp"; + genericName = "Watsie, unofficial WhatsApp client"; + exec = "whatsie %U"; + terminal = false; + icon = "com.github.eneshecan.WhatsAppForLinux"; + categories = [ "Application" "Network" "WebBrowser" ]; + settings = { + Keywords = "chat;im;messaging;messenger;sms;whatsapp;whatsapp-desktop;whatsie;"; + }; + }; + }; + + # Let Home Manager install and manage itself. programs.home-manager.enable = true; } -- cgit v1.3.1