summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/unstable.nix22
1 files changed, 21 insertions, 1 deletions
diff --git a/home/unstable.nix b/home/unstable.nix
index af4d9c5..fc22c80 100644
--- a/home/unstable.nix
+++ b/home/unstable.nix
@@ -11,6 +11,26 @@ with import inputs.nixpkgs-unstable {inherit system; };
elixir_1_12
elixir_ls
thunderbird
- signal-desktop
+ (stdenv.mkDerivation {
+ name = "signal-wayland";
+ src = signal-desktop;
+ phases = [ "buildPhase" ];
+ buildPhase = ''
+ mkdir -p $out
+ cp -r $src/{bin,lib} $out
+ '';
+ })
];
+
+ xdg.desktopEntries."Signal" = {
+ name = "Signal";
+ exec =
+ "signal-desktop --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";
+ terminal = false;
+ type = "Application";
+ icon = "signal-desktop";
+ comment = "Private messaging from your desktop";
+ mimeType = [ "x-scheme-handler/sgnl" "x-scheme-handler/signalcaptcha"];
+ categories = ["Network" "InstantMessaging" "Chat"];
+ };
}