diff --git a/home-manager/features/linux-desktop.nix b/home-manager/features/linux-desktop.nix index 6dd88f4..72f32c7 100644 --- a/home-manager/features/linux-desktop.nix +++ b/home-manager/features/linux-desktop.nix @@ -8,14 +8,15 @@ let in { imports = [ + ../apps/discord.nix + ../apps/element.nix + ../options/monitors.nix ./audio.nix ./hypr/hyprland.nix + ./mindwtr.nix ./rofi/rofi.nix ./sway.nix - ../apps/element.nix - ../apps/discord.nix ./terminal.nix - ../options/monitors.nix ]; home = { diff --git a/home-manager/features/mindwtr.nix b/home-manager/features/mindwtr.nix new file mode 100644 index 0000000..5705aad --- /dev/null +++ b/home-manager/features/mindwtr.nix @@ -0,0 +1,26 @@ +{ pkgs, ... }: +let + mindwtrAppImage = pkgs.fetchurl { + name = "mindwtr-app-image"; + url = "https://github.com/dongdongbh/Mindwtr/releases/download/v1.3.6/Mindwtr-1.3.6-x86_64.AppImage"; + sha256 = "0q7rwj2d5j5vpxhrf5bmxwfppkn0jdmzrndw16w4l9q3rss3bv5i"; + }; + mindwtrIcon = pkgs.fetchurl { + name = "mindwtr-icon"; + url = "https://appimage.github.io/database/Mindwtr/icons/128x128/mindwtr.png"; + sha256 = "03v1azqkh2kld6k2hvblkwk8xl7lsy7ipznqj0vyp2j24r14sf5r"; + }; +in +{ + xdg.desktopEntries = { + mindwtr = { + name = "Mindwtr"; + exec = "${pkgs.appimage-run}/bin/appimage-run ${mindwtrAppImage}"; + terminal = false; + type = "Application"; + icon = "${mindwtrIcon}"; + comment = "Mindwtr"; + }; + + }; +}