From fca24d8bb62ec6a1ecc0c3169dca2b274bdc52da Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 10 May 2024 20:27:20 +0800 Subject: [PATCH] treewide: remove telegram-desktop --- darwin/profiles/desktop/home/default.nix | 1 - home/applications/telegram-desktop/default.nix | 13 ------------- hosts/aristotle/default.nix | 1 - nixos/profiles/common/graphical/home/xdg-mime.nix | 1 - 4 files changed, 16 deletions(-) delete mode 100644 home/applications/telegram-desktop/default.nix diff --git a/darwin/profiles/desktop/home/default.nix b/darwin/profiles/desktop/home/default.nix index cc2f3cc..2e011c0 100644 --- a/darwin/profiles/desktop/home/default.nix +++ b/darwin/profiles/desktop/home/default.nix @@ -18,7 +18,6 @@ # Media "mpv" - "telegram-desktop" ]; # Install MacOS applications to the user Applications folder. Also update Docked applications diff --git a/home/applications/telegram-desktop/default.nix b/home/applications/telegram-desktop/default.nix deleted file mode 100644 index 10a859e..0000000 --- a/home/applications/telegram-desktop/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - inputs, - pkgs, - ... -}: { - home.packages = [ - ( - if pkgs.stdenv.hostPlatform.isDarwin - then inputs.nixcasks.legacyPackages.${pkgs.stdenv.hostPlatform.system}.telegram - else pkgs.telegram-desktop - ) - ]; -} diff --git a/hosts/aristotle/default.nix b/hosts/aristotle/default.nix index 997b47b..dbede4a 100644 --- a/hosts/aristotle/default.nix +++ b/hosts/aristotle/default.nix @@ -33,7 +33,6 @@ imports = map (n: ../../home/applications/${n}) [ "spotify/spicetify.nix" "thunderbird" - "telegram-desktop" "ydict" ]; diff --git a/nixos/profiles/common/graphical/home/xdg-mime.nix b/nixos/profiles/common/graphical/home/xdg-mime.nix index fb95bc3..4b66fde 100644 --- a/nixos/profiles/common/graphical/home/xdg-mime.nix +++ b/nixos/profiles/common/graphical/home/xdg-mime.nix @@ -7,7 +7,6 @@ defaultApplications = { "inode/directory" = ["org.gnome.Nautilus.desktop"]; - "tg" = ["org.telegram.desktop.desktop"]; # https://t.me/nixos_zhcn/363204 } ### Browser // lib.genAttrs [