blob: 6c2f598e743776a7f5bf865d1db1eadc67e1bba5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{config, pkgs, inputs, ...}:
with inputs.nixpkgs-unstable;
{
home.packages = [
(stdenv.mkDerivation {
name = "signal-wayland";
src = signal-desktop;
phases = [ "buildPhase" ];
buildPhase = ''
mkdir -p $out
cp -r $src/{bin,lib} $out
'';
})
gleam
yazi
];
xdg.desktopEntries."Signal" = {
name = "Signal";
exec =
''fish -c "signal-desktop --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto & && signal-desktop"'';
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"];
};
}
|