From e9bbb9925778299228de6c843ba2e441c6930ff9 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 16 May 2025 16:07:26 +0300 Subject: Fixed desktopEntries error --- hosts/configuration.nix | 13 ------------- hosts/home.nix | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) (limited to 'hosts') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 2e025d6..70466e7 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -138,17 +138,4 @@ serviceConfig = { Type = "oneshot"; User = "kyren"; }; }; - 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;"; - }; - }; - }; } diff --git a/hosts/home.nix b/hosts/home.nix index ef8ecea..a9ce356 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -25,6 +25,20 @@ "$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